Re: Set a timeout on file_get_contents?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Di, den 15.02.2005 schrieb Brian Dunning um 16:48:
> Is there any way to specify a timeout on a file_get_contents()? I'm 
> trying to verify a URL but I don't want to spend more than a few 
> seconds on it.

http://de.php.net/manual/de/function.fsockopen.php

not so easy a file_get_contents but with a timeout

BR/Torsten

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux