Hi guys.
So with register_globals = On
You can pass URL variables to a page : IE
page.php?x=1&y=2&etc=etc
then you can use them like so :
echo $x; //prints : 1
But with register_globals = Off
echo $x; // is empty
echo $_GET[x] // prints : 1
So my question :
Is it possible to toggle register_globals on somhow? or somthing like this?
I have already written my script : without register_globals = Off taken into consideration. So instead of searching through all the code and changing $variable to $_GET[variable] Id like to just somhow just add a line of code to the top of each page that does this..
Can it be done?
Thanks
-Arron