#23381 [NEW]: default_socket_timeout does sometimes nothing when I use file_get_contents
| From: | mf at orase dot com | Date: | Mon, 28 Apr 2003 14:34:03 +0000 |
| Subject: | #23381 [NEW]: default_socket_timeout does sometimes nothing when I use file_get_contents | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38569@lists.php.net to get a copy of this message | ||
From: mf at orase dot com
Operating system: Linux
PHP version: 4.3.1
PHP Bug Type: *Directory/Filesystem functions
Bug description: default_socket_timeout does sometimes nothing when I use file_get_contents
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 bug report at http://bugs.php.net/?id=23381&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23381&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23381&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23381&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23381&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23381&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23381&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23381&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23381&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23381&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23381&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23381&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23381&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23381&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23381&r=gnused