jthurstenson Posted January 31, 2009 Share Posted January 31, 2009 I am building a small web form that needs to capture and include the users ip address. This is a form that I am putting on our internal LAN (not Internet). I've searched here but can't find an example of this. Any help is appreciated. Link to comment https://forums.phpfreaks.com/topic/143204-solved-include-users-ip-address-with-web-form/ Share on other sites More sharing options...
.josh Posted January 31, 2009 Share Posted January 31, 2009 http://us.php.net/manual/en/reserved.variables.server.php Link to comment https://forums.phpfreaks.com/topic/143204-solved-include-users-ip-address-with-web-form/#findComment-751043 Share on other sites More sharing options...
jthurstenson Posted February 3, 2009 Author Share Posted February 3, 2009 Thanks, I finally had time to mess with it and it worked great. $_SERVER['REMOTE_ADDR']; Link to comment https://forums.phpfreaks.com/topic/143204-solved-include-users-ip-address-with-web-form/#findComment-753934 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.