Re: preg_match help
| From: | Pavel Jartsev | Date: | Fri, 11 Apr 2003 11:28:15 +0000 |
| Subject: | Re: preg_match help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143479@lists.php.net to get a copy of this message | ||
Petre Agenbag wrote:
Hi I am trying to do the following:I'm not 100% sure what U're trying to do, but it's possible to get an IP address of client behind proxy from this variable: $_SERVER['HTTP_X_FORWARDED_FOR'] -- Pavel a.k.a. PapiFrom the machine at work connected via ADSL running through a proxy, I'dlike to "send" the gateway Linux machine IP to my webserver. I used to simply make the gateway access a hidden page on the webserver and then got the IP from the $_SERVER['REMOTE_ADDR'], but since the ISP forced the connection through a proxy, that doesn't work anymore. ...