ID: 37873
Updated by: [EMAIL PROTECTED]
Reported By: msho at cyber-linkz dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows 2003
PHP Version: 4.4.2
New Comment:
Fixed in CVS several months ago.
Previous Comments:
------------------------------------------------------------------------
[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