ID: 40430 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: All PHP Version: 4.4.4 New Comment:
Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php There already is a timeout http context option in 5.2.1 Previous Comments: ------------------------------------------------------------------------ [2007-02-10 13:21:12] [EMAIL PROTECTED] Description: ------------ When you use file() to get a file over a network (internet) like file("http://www.php.net"); you will get an timeout error if there is no connection to the internet or the requested URL. There I suggest to add an additional (optional) attribute "int timeout" to this function, making php cancel the function call after x seconds. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40430&edit=1
