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 Link to comment https://forums.phpfreaks.com/topic/9427-ip-troubles/ 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. Link to comment https://forums.phpfreaks.com/topic/9427-ip-troubles/#findComment-34750 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 Link to comment https://forums.phpfreaks.com/topic/9427-ip-troubles/#findComment-34752 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.