On Mon, May 8, 2006 12:55 pm, PHP wrote: > I am including a page from another server: (include("http://....")); > > Works fine, but if for some reason that server is not responding, the > page that is calling it also never returns, so the user ends up with a > time out. > > Is there something I can set that will not force the calling server to > wait indefinetely for the remote server to respond, and just continue > on? Try this: $old = ini_set('default_socket_timeout', 0); //wait forever include "http://..."; ini_set('default_socket_timeout', $old); No promise it will work. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php