On 7 Aug 01, at 14:02, René Moonen wrote:
> The problem is that REMOTE_ADDR returns the IP address of the proxy (if
> if(getenv(HTTP_X_FORWARDED_FOR))
> {
> $ip=getenv(HTTP_X_FORWARDED_FOR);
> }
> else
> {
> $ip=getenv(REMOTE_ADDR);
> }
> $host = gethostbyaddr($ip);
except, perhaps, when th
On Wed, Aug 08, 2001 at 12:52:42AM +0100, Andreas D. Landmark wrote:
> 1) proxies should cache dynamic content
> 2) proxies should not retrieve from cache if the request is a force-refresh
> 3) proxies should not cache any content which URL includes "?"
>
> Sounds like you've got yourself a poor
At 07.08.2001 13:06, Renze Munnik wrote:
>Ahh see, that wasn't clear in the question. Yeah... that's true.
>Pain in the ass those proxies. They're also realy useful while
>testing your (dynamic) site. NOT!!! "Hey, what's this? I thought I'd
>realy changed that error. How's this possible?", "Di
On Tue, Aug 07, 2001 at 02:01:04PM +0200, René Moonen wrote:
> The problem is that REMOTE_ADDR returns the IP address of the
> proxy (if the user
> accesses the web-page via a proxy. This will allways return the IP
> address of
> the user's machine:
>
> if(getenv(HTTP_X_FORWARDED_FOR))
> {
> $ip
4 matches
Mail list logo