Hello,
Slight Problem:
----------
This piece of code:
session_start();
unset($testvar);
session_register("testvar"); $HTTP_SESSION_VARS["testvar"] = "testval";
print "Global: $testvar | Track_var: " . $HTTP_SESSION_VARS["testvar"] . ".<br>";
$testvar = "testglobalassign";
print "Global: $testvar | Track_var: " . $HTTP_SESSION_VARS["testvar"] . ".<br>";
Produces this output:
Global: | Track_var:
Global: testglobalassign | Track_var:
--------
Now, The other HTTP_*_VARS works just fine. I dont know where to go to fix this. The
Php.ini file says:
register_globals: on
and I compiled it with --enable-track-vars (even though it should be on by default)
PHP version is 4.0.6 with apache 1.3.22
Anyone seen this problem or know how to fix?
Thanks,
Andrew