#47680 [Opn->Fbk]: is_readable() hits the max execution time if a host no longer exists

From: Date: Tue, 17 Mar 2009 11:05:26 +0000
Subject: #47680 [Opn->Fbk]: is_readable() hits the max execution time if a host no longer exists
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134801@lists.php.net to get a copy of this message
ID: 47680 Updated by: jani@php.net Reported By: ax_the_hacker at yahoo dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: SunOS PHP Version: 5.2.9 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2009-03-16 20:23:22] ax_the_hacker at yahoo dot com Description: ------------ is_readable hits the max execution time if a host no longer exists.(max time=60 seconds). WOuld be nice to add a timeout parameter. Reproduce code: --------------- $webdir1 = is_readable($dir."/public_html/index.html"); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47680&edit=1

« previous php.bugs (#134801) next »