file_get_contents and time outs
Posted: Thu Dec 09, 2004 11:29 pm
Is there a way to set the time out for a get_file_contents call. I don't want to stop the execution of the script. I just want file_get_contents to quit after a certain period of time.
I know about stream_set_timeout(), but it appears that only works with fsockopen.
Thanks in advance.
I know about stream_set_timeout(), but it appears that only works with fsockopen.
Thanks in advance.