Re: shortest code to open a web page from PHP



php -r "file_put_contents('output', file_get_contents('http://
www.yahoo.com'));"

On Oct 9, 9:53 am, Luca Villa <lucavi...@xxxxxxxxxxxx> wrote:
I have Windows Vista and PHP with Curl.
I would save a web page on my harddisk with a PHP command-line
command. What's the more minimalist way to do it?


.