- 论坛徽章:
- 0
|
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(),
session_is_registered()
, and
session_unregister()
.
直接负值应用即可 用 isset() 可以检查是否已经使用过某一个 session 变量
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6039/showart_55066.html |
|