Re: php wget: Return an empty file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux