Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
Yes, this is exactly what register_globals does. If you are using the recommended setting of off then you get at your variables with the new super-globals, that is:I noticed that register_globals was set ON in my php.ini file so I changed it to OFF in as per the security warning. I've noticed a side effect. When I submit a form via POST and then go back from the results page, my form has been cleared, i.e.., as if the page has been reloaded. Is this a normal effect of setting register_globals OFF? Is there a way to continue caching?
$myvar = $_POST['myvar']; // for POST data.
$myvar = $_GET['myvar']; // for GET data.
$myvar = $_REQUEST['myvar']; // for both POST and GET data.
Hope this helps.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php