PHP 3 Question
From: Matt Doggie (mdoggie_nosuchemail_at_msn.com)
Date: 01/30/04
- Next message: John Smith: "Re: PHP 3 Question"
- Previous message: Richard: "Re: Problems with mail()"
- Next in thread: John Smith: "Re: PHP 3 Question"
- Reply: John Smith: "Re: PHP 3 Question"
- Reply: Andy Hassall: "Re: PHP 3 Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 18:48:12 GMT
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.....
- Next message: John Smith: "Re: PHP 3 Question"
- Previous message: Richard: "Re: Problems with mail()"
- Next in thread: John Smith: "Re: PHP 3 Question"
- Reply: John Smith: "Re: PHP 3 Question"
- Reply: Andy Hassall: "Re: PHP 3 Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|