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. Quote 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 Quote 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']; Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.