You are here: Re: [PHP] php wget: Return an empty file « PHP « IT news, forums, messages
Re: [PHP] php wget: Return an empty file

Posted by Josip Dzolonga on 04/08/05 16:59

Chris Blake wrote:

>wget was the first thing I thought of :)
>
You thought wrong :-) Are you are going to parse the file after you've
downloaded it ? See this function, http://www.php.net/file_get_contents
, if allow_url_fopen is set to TRUE in your php.ini, there will be no
problems opening a URL, so $contents = file_get_contents($url); is going
to to the job perfectly !

Hope this helps,

--
Josip Dzolonga
http://josip.dotgeek.org

jdzolonga[at]gmail.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация