#23381 [Opn->Fbk]: default_socket_timeout does sometimes nothing when I use file_get_contents

From: Date: Mon, 28 Apr 2003 14:37:38 +0000
Subject: #23381 [Opn->Fbk]: default_socket_timeout does sometimes nothing when I use file_get_contents
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38571@lists.php.net to get a copy of this message
ID: 23381 Updated by: sniper@php.net Reported By: mf at orase dot com -Status: Open +Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: Linux PHP Version: 4.3.1 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-04-28 09:34:03] mf at orase dot com I used: ini_set('default_socket_timeout', 3); But sometimes (not always!) reading a file like file_get_contents('http://www.example.com'); takes more time. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23381&edit=1

« previous php.bugs (#38571) next »