|
using external content
im using content on one of my sites that pulls from an external server.
sometimes that external server's httpd service isn't working that great.
is there a way to test for a page before trying to read it? i can do a file_exists, but the problem is that i don't want to make them wait until it times out. i want it to print an error after about 5 seconds of the external server not responding.
any ideas?
|