Greg Deckler wrote:
I have searched for this in the FAQ's, News Archives and Googled for it
and cannot seem to find the answer. Please help.
Should have checked the manual.
http://us4.php.net/register_globals
I have a script that simply echo's a query string variable to the
screen. This works on a previously configured linux box with PHP4.0, but
not on a newly created Windows 2003 box with PHP5.0.
Here is the URL sample:
http://www.blahblahblah.com/hello.php?pg=1
Here is the page sample:
<?
echo $pg;
?>
On the Windows box, I get "Undefined variable".
$10 will get you $20 that register_globals is OFF.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php