Re: PHP 3 Question
Check register_globals in your php.ini!
"Matt Doggie" <mdoggie_nosuchemail@msn.com> schreef in bericht
news:MFxSb.28564$ef.1652@twister01.bloor.is.net.ca ble.rogers.com...
> A client of mine requires us to develop a very simple PHP 3 page (I know
php
> 3 is outdated, but anyways..). I run into a problem.. We are running
Apache
> 1.3.27 with PHP 3.0.17
>
> <?
> echo $PHP_SELF; // This one works
> echo $HTTP_SERVER_VARS["PHP_SELF"]; // This one doesn't work, it
returns
> blank
> echo $HTTP_SERVER_VARS["REMOTE_ADDR"]; // This one doesn't work, it
> returns blank
> ?>
>
> When I do a <?=phpinfo()?> in the PHP Variables section, it only shows
> PHP_SELF.. there is no other server variables available??
>
> Help.....
>
>
>
>
|