note 41079 rejected from function.getenv by cece
| From: | cece@php.net | Date: | Mon, 29 Mar 2004 19:30:26 +0000 |
| Subject: | note 41079 rejected from function.getenv by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67334@lists.php.net to get a copy of this message | ||
Note Submitter: phenix@filesnetwork.com
----
When I use :
getenv("HTTP_CLIENT_IP");
or
getenv("HTTP_X_FORWARDED_FOR");
I just get blank back. I have tested by using proxies and lan. The only IP varible which returns
anything for me is getenv("REMOTE_ADDR") however I am trying to get the user's real
ip if they are hiding behind a proxy.