Re: Windows and Query String
| From: | John Nichel | Date: | Mon, 18 Apr 2005 15:40:44 +0000 |
| Subject: | Re: Windows and Query String | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213279@lists.php.net to get a copy of this message | ||
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@kegworks.com