Re: PHP variables aren't working correctly on IIS

From: Date: Fri, 06 Sep 2002 13:19:58 +0000
Subject: Re: PHP variables aren't working correctly on IIS
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-8341@lists.php.net to get a copy of this message
Greg Strong wrote:
Hello. I have installed and configured PHP successfully on several occasions, but on my most recent installation it almost all works, but I can't pass variables to a page in the URL. The normal: filename.php?variable=value doesn't work ... the variable is still undefined. Any ideas? I'm running Windows 2000 with IIS. Nothing fancy.
Greg, Sounds like you have a modern php with register_globals set to off by default and you are used to having them on (its in the release notes). Use $_GET['variable'} to obtain GET data. Its detailed in the manual. Alternatively, turn register_globals on in php.ini (not recommended). HTH Chris


« previous php.install (#8341) next »