JackJack Posted May 9, 2006 Share Posted May 9, 2006 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 youJJ Quote Link to comment Share on other sites More sharing options...
jeremywesselman Posted May 9, 2006 Share Posted May 9, 2006 If you are running this on your own computer and not on a server you will get this result. Quote Link to comment Share on other sites More sharing options...
JackJack Posted May 9, 2006 Author Share Posted May 9, 2006 [!--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 youJJ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.