DKP Posted February 26, 2009 Share Posted February 26, 2009 Is it possible to get the IP address of the machine the browser is running on in php? Link to comment Share on other sites More sharing options...
Wander Posted February 26, 2009 Share Posted February 26, 2009 u mean the ip of the server, or the ip of the visitor? (btw, the browser doesnt have anything to do with it, if someone would request a website without using a browser, this someone would still have an ip address)in php the ip address of the visitor gets stored in the variable $_SERVER['REMOTE_ADDR'] Link to comment Share on other sites More sharing options...
DKP Posted February 26, 2009 Author Share Posted February 26, 2009 Yes, the ip of the visitor is what I was looking for. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.