首页 | 新闻 | 交流 | 问吧 | 文档 | 手册 | 下载 | 博客

收藏此问题 发表新评论

请问php4.31和php4.23中使用session有什么不同?

老是出现:

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

但我不想register_globals 为on呀。。。
要怎么做??请教要怎么使用。。。
昵称: simonxzq  时间: 2003-07-05 18:09:00
解决了。。
昵称: simonxzq  时间: 2003-07-05 18:16:00
怎么解决的?
昵称: yhlong  时间: 2003-07-05 19:10:00
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

我也出现了,升级4.23以后就这样了,怎么解决啊?
昵称: eason  时间: 2003-07-19 14:29:00
顶。
今天试把原来的PHP下了,换个新的。怎么改来改去这个PHP.ini都没用呀?
提示同楼上。
请教达人指点下。
昵称: bralf  时间: 2003-08-08 20:34:00
日哦!
怎么解决的说啊!
虽然偶没有用423!
昵称: jhtpersonal  时间: 2003-08-08 20:44:00
http://www.phpx.com/happy/showth ... ht=session.bugcompa
昵称: xltxlm  时间: 2003-08-08 20:47:00
session.....session....搞得偶以前的程序都不能用了。T_T,偶再试....
昵称: bralf  时间: 2003-08-08 21:28:00