|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-21 11:35 UTC] tony2001@php.net
[2006-06-21 11:53 UTC] msho at cyber-linkz dot com
[2006-06-21 12:08 UTC] tony2001@php.net
[2006-06-21 19:17 UTC] msho at cyber-linkz dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 04:00:01 2025 UTC |
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