Re: Cant get PHP to run on Win 98
| From: | Matt Parlane | Date: | Tue, 30 Apr 2002 23:04:31 +0000 |
| Subject: | Re: Cant get PHP to run on Win 98 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13434@lists.php.net to get a copy of this message | ||
Hi Jeff...
Have a look at http://www.php.net/release_4_2_0.php .
From version 4.2.0 onwards, request variables are no longer registered in
the global scope.
You'd probably find that if you used echo $_GET['C'] instead of just echo
$C, it would work.
Matt
"Jeff Britts" <jeff@radiospot.com> wrote in message
news:000201c1f083$6586ce40$9900a8c0@radiospot2...
> I just started learning PHP and have looked to solve this issue, but
haven't
> got the correct answer yet.
>
> I installed the latest version of PHP on my Win98 machine running PWS.
>
> I can do php_info(), so it seems the installation is correct.
>
> Now I'm trying a simple form get and all I receive is the following:
>
> Notice: Undefined variable: C in d:\www\php\test.php on line 2
> The url reads:http://localhost/php/test.php?C=foo
>
> and test.php contains:
> <?php
> echo $C;
> ?>
>
> I found a suggestion to turn down the error reporting, which stopped the
> error from being displayed, but didn't stop the error itself.
>
> Any help would be appreciated
>
>
>
>