#33483 [NEW]: There is a delay in retrieving a webpage from some sites using file()
| From: | bong at icasolution dot com dot au | Date: | Mon, 27 Jun 2005 02:13:36 +0000 |
| Subject: | #33483 [NEW]: There is a delay in retrieving a webpage from some sites using file() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-81053@lists.php.net to get a copy of this message | ||
From: bong at icasolution dot com dot au
Operating system: Linux Ubuntu (Hoary Hedgehog)
PHP version: 4.3.10
PHP Bug Type: HTTP related
Bug description: There is a delay in retrieving a webpage from some sites using file()
Description:
------------
When retrieving a web page using file() from, say,
http://www.tabonline.com.au, there is a delay of several
seconds before
the page is actually retrieved. This happens under Ubuntu (Hoary Hedgehog,
using PHP 4.3.10) and also Fedora Core 3 (PHP 5.0.4). I don't get the delay
under Fedora Core 1 (PHP 4.3.8) or Red Hat 7.3. (PHP 4.3.9).
Reproduce code:
---------------
<?php
$file = file("http://www.tabonline.com.au/2005/06/24/QR04.html");
print_r($file);
?>
Expected result:
----------------
HTML of the retrieved page, which I get, but not before a delay of several
seconds.
--
Edit bug report at http://bugs.php.net/?id=33483&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33483&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33483&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33483&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33483&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33483&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33483&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33483&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33483&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33483&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33483&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33483&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33483&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33483&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33483&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33483&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33483&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33483&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33483&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33483&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33483&r=mysqlcfg