Hello,
I need to know the remote IP of users to a chatroom I manage here to log troublemakers.
I found the function: $SERVERREMOTE_ADDR or alternatively $SERVER["REMOTE_ADDR"]
the strange thing is: when displaying the remote address in the room each user sees his/her correct IP but I myself see always only the address of my site (fixed IP behind a French "livebox" DSL modem).
I could understand that I internally to my network see that address as that "livebox" also does the WiFi for the whole house but not the external users who, as mentioned, see the correct IPs themselves.
What am I doing wrong ? Any help appreciated
Bea
Config:
Linux Fedora Core 6
PHP4
Apache