Warptweet Posted March 23, 2007 Share Posted March 23, 2007 I look at php.net and searched as much as I could, but found nothing that I could see relevant to do this, how can I get the users IP address and display it in the echo? Thanks for any help. Link to comment https://forums.phpfreaks.com/topic/44001-solved-get-users-ip-address/ Share on other sites More sharing options...
interpim Posted March 23, 2007 Share Posted March 23, 2007 <?php echo $_SERVER["REMOTE_ADDR"]; ?> I google searched "display ip address in php"... first result had the answer. Link to comment https://forums.phpfreaks.com/topic/44001-solved-get-users-ip-address/#findComment-213646 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.