Re: problem with IIS..
| From: | Tomator | Date: | Fri, 07 Jun 2002 16:25:13 +0000 |
| Subject: | Re: problem with IIS.. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14128@lists.php.net to get a copy of this message | ||
"Nick Stuart" <nick@newtsplace.com> wrote:
> Hello all, I have recently installed php4.2.1 with IIS 5 and 2000 SP2 and
> I'm having some wierd problems. PHP "IS" running but it is not running
> correctly. It doesnt seem to be posting and/or getting any info from
> forms/pages and the request variables. If I have a page like index.php it
> works fine, but if I try to do something like index.php?Topic=blah I
getNotice: Undefined variable: Topic in
> c:\inetpub\wwwroot\phpboard\MessageBoard.php on line 3
> I know the code works as I have the exact same page running on another
> server across the building but cant figure out why it wont work here.
In newer versions of PHP variable register globals is turned off by default.
Check it with phpinfo(). You can solve problem by using $_GET("Topic")
instead of $Topic