Ninjakreborn Posted September 2, 2009 Share Posted September 2, 2009 Is there a way to take any website... whatever.com (google.com, yahoo.com, infotechnologist.biz, msn.com, phpfreaks.com, myfavoritesite.com.ca) whatever. Any site out there. And find out what the IP address of the website is using PHP? Link to comment https://forums.phpfreaks.com/topic/172872-solved-get-website-ip-address-with-php/ Share on other sites More sharing options...
ignace Posted September 2, 2009 Share Posted September 2, 2009 print gethostbyname('google.com'); Link to comment https://forums.phpfreaks.com/topic/172872-solved-get-website-ip-address-with-php/#findComment-911123 Share on other sites More sharing options...
Ninjakreborn Posted September 2, 2009 Author Share Posted September 2, 2009 Thank you very much. Quite a helpful function there. Link to comment https://forums.phpfreaks.com/topic/172872-solved-get-website-ip-address-with-php/#findComment-911124 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.