Jump to content

Archived

This topic is now archived and is closed to further replies.

JackJack

IP Troubles

Recommended Posts

I want to show the users IP on the page but the result for me is 127.0.0.1 (but infact it is something else).

The code i have used is :
[code]
    <center>
        <font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">
            Your IP is being logged as: <?php echo $_SERVER['REMOTE_ADDR']; ?>
        </font>
    </center>
[/code]

Thank you

JJ

Share this post


Link to post
Share on other sites
[!--quoteo(post=372747:date=May 9 2006, 03:41 PM:name=jeremywesselman)--][div class=\'quotetop\']QUOTE(jeremywesselman @ May 9 2006, 03:41 PM) [snapback]372747[/snapback][/div][div class=\'quotemain\'][!--quotec--]
If you are running this on your own computer and not on a server you will get this result.
[/quote]

Thank you

JJ

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.