Hey,
I wrote a function in PHP which queries the API. I just checked my error log, and I've noticed that I've been seeing a lot of errors.
PHP Warning: file_get_contents(http://ipinfodb.com/ip_query.php?ip=x.x.x.x&timezone=false): failed to open stream: Operation timed out in /usr/local/www/main/includes/functions.inc.php on line 1454
I've been steadily increasing the "timeout" value of the file_get_contents() call, but it doesn't seem to help at all. It went from 5 seconds to 30 seconds, and I still see the error messages. Is this a problem on my end, or is the server(s) having issues? It would not be a network connection on my end, as I run several other services (such as IRC) which have been acting fine, so if it is on my end, it would be a coding error.
Note, I don't see any error entries for "http://backup.ipinfodb.com", only "http://ipinfodb.com"
Here's my function: http://pastie.org/private/rohx6d1a5m3p6eyiitldq
(I prefer not to use ini_set('default_socket_timeout') because I have other socket functions, so I don't want to disturb them)
Thanks!
