Re: Problem with REMOTE_ADDR
| From: | Krzysztof Dziekiewicz | Date: | Tue, 17 Sep 2002 08:05:33 +0000 |
| Subject: | Re: Problem with REMOTE_ADDR | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116605@lists.php.net to get a copy of this message | ||
> Whenever I use REMOTE_ADDR, it gives me the IP of the server. Of course, I
> am not interested in this and want the IP of the client. I put this code in
> to resolve it and it still didnt work. What am I doing wrong?
Try HTTP_CLIENT_IP. It is set in some situations.