Re: shortest code to open a web page from PHP
- From: petersprc <petersprc@xxxxxxxxx>
- Date: Wed, 10 Oct 2007 14:01:32 -0000
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?
.
- References:
- shortest code to open a web page from PHP
- From: Luca Villa
- shortest code to open a web page from PHP
- Prev by Date: Re: [PHP] Editing an element within an array
- Next by Date: Re: [PHP] Beginner Tutorials for using CLASSES in PHP4
- Previous by thread: shortest code to open a web page from PHP
- Next by thread: Download and Upload of Files
- Index(es):