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