Today I noticed that $_SERVER['REMOTE_ADDR'] always contains "127.0.0.1" instead of correct remote host address. Yesterday it was fine. My web page is http://dawwin.x10.bz . Can someone fix this?
My webpage looks fine, but i've got a problem with php variable $_SERVER['REMOTE_ADDR']; Normally it contains viewer's IP address, but today I noticed that it has value "127.0.0.1". This page http://dawwin.x10.bz/test.php contains following code
Code:
<?php
echo $_SERVER['REMOTE_ADDR'];
?>
If it's fine you should see your public IP address. I need this in my guest book.