|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-01-08 06:44 UTC] sas at cvs dot php dot net
[2000-01-12 06:04 UTC] rousseau at neuronnexion dot fr
[2000-07-28 12:23 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jul 02 07:00:02 2026 UTC |
Using PHP 3.0.12, Apache 1.3.9 on Linux / Alpha A script such as : <? $lines = file ("htttp://www.altavista.com"); for ($i = 0; $i < count ($lines); $i++) { print $lines[$i]; } ?> shocks on execution with a : Warning: Invalid URL specified, http://www.altavista.com in /home/web/nnx/services/listes/listesman/tliste.phtml on line 3 I tried as a workaround to use the Snoopy class found on http://www.phpinsider.com/php/code/, without much further success When trying to fetch the same page, it shocks on line 72, which reads : $URI_PARTS = parse_url($URI); So I strongly suspect a probleme with the internal function that parses URL...