Re: preg_match help

From: Date: Fri, 11 Apr 2003 11:39:26 +0000
Subject: Re: preg_match help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-143480@lists.php.net to get a copy of this message
Ha! Thanks, (there always seems to be an easier way to do everything!) On Fri, 2003-04-11 at 13:28, Pavel Jartsev wrote: > Petre Agenbag wrote: > > Hi > > > > I am trying to do the following: > > > >>From the machine at work connected via ADSL running through a proxy, I'd > > like 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. > > ... > > > > 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. Papi > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#143480) next »