- 论坛徽章:
- 0
|
在win2k下安装了apache1.3.20+php4.3.1,做了简单的测试session的文件:
<?
session_start();
session_register('count');
$count++;
echo $count;
?>;
打开IE后,第一次运行时出现下面的提示:
1
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
但刷新一次之后那个“Warning....”一段就没有了,但是数字不增加,还是1,请问高手们这是怎么回事呀???? |
|