You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off这都说了,配置PHP。INI--------------------------------------------------------------http://community.csdn.net/Expert/topic/3578/3578175.xml?temp=.5459558
有位兄弟的问题和你的一样
有位兄弟的问题和你的一样
$a ='1';
$_SESSION['a'] = $a;不要用session_register
You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off,
不是说的很明白吗?
你如果不想让这个提示出现,可令
session.bug_compat_42 = off
或
session.bug_compat_warn = off
就用$_SESSION['var']