Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法读取链接列表 #1

Closed
kenee opened this issue Aug 18, 2011 · 1 comment
Closed

无法读取链接列表 #1

kenee opened this issue Aug 18, 2011 · 1 comment
Assignees

Comments

@kenee
Copy link

kenee commented Aug 18, 2011

服务器的php如果开启magic_quotes_gpc,提交的数据都会知道加斜杠的,这样会导致反序列化失败。我在
$res = unserialize($_COOKIE['memadmin_cookie_conlist']);
前加上这句话解决问题:
$_COOKIE['memadmin_cookie_conlist'] = stripslashes($_COOKIE['memadmin_cookie_conlist']);

@ghost ghost assigned junstor Aug 18, 2011
@junstor
Copy link
Owner

junstor commented Oct 7, 2011

已经修正了这个问题,多谢

@junstor junstor closed this as completed Oct 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants