|
Posted by C. on 09/01/07 22:29
On 1 Sep, 08:29, Michael Fesser <neti...@gmx.de> wrote:
> .oO(Christian Aastorp <>)
>
> ><?php
> > if ($_SERVER['REMOTE_ADDR'] = "127.0.0.1") {
>
> ^
>
>
>
> >This worked spllendidly when I tested running our site locally using
> >the XAMPP-bundle. But when I copied the code out to the real server it
> >seems that all clients are found at 127.0.0.1!
>
> = != ==
>
> Micha
Strikes me that this is the easy problem to fix.
There are several things which could cause to this to be true - the
most obvious one to spring to mind is that there is a reverse proxy
sitting in front of the webserver with no transparency on the
conection.
C.
Navigation:
[Reply to this message]
|