Hi!
I am running simple subscribe script which among other things log IP number from the sender. For this purpose I have this line in my script:
$ip = $_SERVER['REMOTE_ADDR'];
It was working fine till I have moved web server on another machine inside LAN (before it was on router itself). Now I get logged ip number which is the LAN nic from my router and not the ip from the sender.
How can I fix this?
Sasa