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:

Why this issue still arised in the new downloaded version 4.4.2 if it
is already fixed?


Previous Comments:
------------------------------------------------------------------------

[2006-06-21 11:35:28] [EMAIL PROTECTED]

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

Reply via email to