PDA

View Full Version : API error - Unable to contact Game-Monitor.com


badgrs
07-04-2006, 12:19 PM
Hi,

I'm getting this error from my script using the GM API provided. I've set the cache timeout to 2 minutes. Is this something at your end or has my host blocked an IP somewhere?

Cheers

Wojjie
07-04-2006, 08:39 PM
It is possible that your host does not allow you to query other webservers via fopen().

Try this (just to test):


$fp=fopen("http://www.google.com/", "r");
$data=fread($fp,40960);
fclose($fp);


See if that gets you any errors. (I did not check syntax)

badgrs
07-05-2006, 11:59 AM
Thanks for the response, for some reason its started working again without any intervention!

Wojjie
07-07-2006, 07:33 AM
That was probably the easiest fix. ;)