View Single Post
Old 12-20-2002, 11:22 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
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?
sde is offline   Reply With Quote