Re: file retrival
| From: | Richard Lynch | Date: | Wed, 27 Dec 2000 04:04:04 +0000 |
| Subject: | Re: file retrival | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31913@lists.php.net to get a copy of this message | ||
You can probably fopen('http://remoteserver.com', 'r') and then
fread() it
like a file.
(Similarly with 'ftp://...' if it's an ftp server.)
----- Original Message -----
From: <PeterOblivion@aol.com>
Newsgroups: php.general
Sent: Tuesday, December 26, 2000 6:33 PM
Subject: [PHP] file retrival
> Anyone know do to download a file from a remote server and save it in a
> specific path using PHP?
>
> thanks
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>