You are here: Re: [PHP] Windows and Query String « PHP « IT news, forums, messages
Re: [PHP] Windows and Query String

Posted by John Nichel on 04/18/05 18:40

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация