Pardon the parse error in test-unset.php.
change: header(Location: test.php));
to: header(Location: test.php);
Mike
Mike Eheler wrote:
Here's a test you can try yourself.
On your server, set up these two files:
test.php
?php
session_start();
if ($_REQUEST['var'])
Disable register_globals. Then it should work.
BTW, this is wrong behavior, but it's documented.
--
Yasuo Ohgaki
Mike Eheler wrote:
Here's a test you can try yourself.
On your server, set up these two files:
test.php
?php
session_start();
if ($_REQUEST['var'])
register_globals *is* off (I haven't touched a global variable since
_SESSION/POST/GET/REQUEST and the like were introduced), and what about
this is wrong behaviour?
Mike
Yasuo Ohgaki wrote:
Disable register_globals. Then it should work.
BTW, this is wrong behavior, but it's documented.
3 matches
Mail list logo