Hi,

http://www.php.net/manual/en/reserved.variables.php
http://www.php.net/manual/en/security.registerglobals.php

HTH

Greetz,

Christian Stadler

"Ted R Lowe" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i've installed PHP 4.2.1 as CGI with Apache 2.0.39 running under NT 4.0.
>
> It is working mostly, since i can run this script:
>
> <?php phpinfo(); ?>
>
> But i can't get the variables passed in via a URL or POST to be set
properly.
>
> When i run this test script, tst.php:
>
> <?php print "$tstvar"; ?>
>
> via http://localhost/tst.php?tstvar=tstvalue
>
> i get this Notice:
>
> Notice: Undefined variable: tstvar in tst.php on line 1
>
> instead of the expected output:
>
> tstvalue
>
> The same thing happens when i try to POST data into a .php script.
>
> Any help would be appreciated!
>
> Thanks,
> ted
>



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

Reply via email to