Fopen("http://www.example.com/page.html","r";);

Or 

File(http://www.example.com.page.html);

My email program might mess up that code...either way, just use fopen()
or file() to open the page, read it into a variable, then write that
variable somewhere on your own system...

---John Holmes...

> -----Original Message-----
> From: Aborla.net - webmaster [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 16, 2002 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] get a html page and save it to a file
> 
> Hello again,
> 
> I would like to know how can I download a html page from other server
and
> write it's contents in a file.
> 
> Thanking in advance,
> Nuno Lopes
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


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

Reply via email to