#37873 [Bgs]: File() function is not working
| From: | msho at cyber-linkz dot com | Date: | Wed, 21 Jun 2006 19:17:30 +0000 |
| Subject: | #37873 [Bgs]: File() function is not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98639@lists.php.net to get a copy of this message | ||
ID: 37873
User updated by: msho at cyber-linkz dot com
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:
Thanks.
Working fine with version 4.4.3RC2-DEV
Previous Comments:
------------------------------------------------------------------------
[2006-06-21 12:08:36] tony2001@php.net
Because it was fixed after the release.
You can download 4.4.x snapshots at http://snaps.php.net
------------------------------------------------------------------------
[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