#37873 [Bgs]: File() function is not working
| From: | tony2001@php.net | Date: | Wed, 21 Jun 2006 12:08:37 +0000 |
| Subject: | #37873 [Bgs]: File() function is not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98633@lists.php.net to get a copy of this message | ||
ID: 37873
Updated by: tony2001@php.net
Reported By: msho at cyber-linkz dot com
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows 2003
PHP Version: 4.4.2
New Comment:
Because it was fixed after the release.
You can download 4.4.x snapshots at http://snaps.php.net
Previous Comments:
------------------------------------------------------------------------
[2006-06-21 11:53:35] msho at cyber-linkz dot com
Why this issue still arised in the new downloaded version 4.4.2 if it
is already fixed?
------------------------------------------------------------------------
[2006-06-21 11:35:28] tony2001@php.net
Fixed in CVS several months ago.
------------------------------------------------------------------------
[2006-06-21 11:28:05] msho at cyber-linkz dot com
Description:
------------
When executing the script via CGI, file() function does not working
fine on opening files via URL.
There is no error shown or result returned.
Reproduce code:
---------------
<?
$lines = file("http://yahoo.com");
echo "Total Lines: ".count($lines);
?>
Expected result:
----------------
nothing output from the script.
Actual result:
--------------
Total Lines: xxx
Where xxx should be the total lines > 0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37873&edit=1