文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>session 警告问题

session 警告问题

时间:2005-11-03  来源:ydz5


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
php 手册写的
注意
If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(),
[url=mk:@MSITStore:F:学习phplatest.chm::/fancy/function.session-is-registered.html]session_is_registered()[/url]
, and
[url=mk:@MSITStore:F:学习phplatest.chm::/fancy/function.session-unregister.html]session_unregister()[/url]
.
直接负值应用即可 用 isset() 可以检查是否已经使用过某一个 session 变量


相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载