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" <[EMAIL PROTECTED]> wrote in message
000201c1f083$6586ce40$9900a8c0@radiospot2">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
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to