在Linux下session的问题没解,到windows下,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
这个是什么问题呀。。。
1#楼
回复人:一起PHP
注册时间:2004-02-27
主题/回复:247/1521
积分:4649
等级:★★★★★☆(十一级)
称号:论坛圣人
1#楼 发表于2005-04-22 17:23:55
评分:1
session配置问题。
错误提示已经给出了解决方法,那就是把session.bug_compat_42 或者session.bug_compat_warn 设置为 off 就可以了。
在php.ini中设置。
并且建议关闭 register_globals
一起PHP技术联盟 主办:一起PHP 联系方式:站长QQ:4304410 QQ群:8423742 20159565 站长博客 E-mail: nqp@nqp.me 执行时间:0.003sec
SimsmaBBS 2008 (v6.0) Developed by
17php.com,Copyright(C)2003-2010 All rights reserved.
副本授权:一起PHP官方专用版