jagguy Posted July 1, 2007 Share Posted July 1, 2007 Can a php program get IP address information from the user? I see sometimes eg your ip address is this and your OS is this. Can I run a script to get this information and to display on a webpage. So the user knows I know about this information. Quote Link to comment Share on other sites More sharing options...
MadTechie Posted July 1, 2007 Share Posted July 1, 2007 <?php echo $_SERVER['REMOTE_ADDR']; //IP echo $_SERVER['HTTP_USER_AGENT'] // client browser ?> 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.