Hi folks,
I want to use this service, specifically using the http://api.hostip.info/get_html.php?ip=xxxx format. However, I want to be able to set a timeout in PHP so that if I don't get a response after say, 0.5s the PHP script gives up trying (so that display of the page is not excessively slowed down for the user). Can anyone tell me what the best way to implement this in PHP is?
Ta.