|
Posted by PhilM on 08/13/05 04:44
from php.net
$_SERVER is a superglobal.
So, if I have it right, with register_globals=on, I can access $QUERY_STRING
direct, but with register_globals=off, I would need to access $QUERY_STRING
with $_SERVER['QUERY_STRING ']
Now if my scripts were written in a register_globals=on environment, but
that alters to 'off', is it 'safe' to simply reassign the variable this way
at the first convenient moment?
$QUERY_STRING = $_SERVER['QUERY_STRING '];
[Back to original message]
|