Re: note 63650 deleted from function.readfile by betz
| From: | Hannes Magnusson | Date: | Mon, 27 Mar 2006 14:05:50 +0000 |
| Subject: | Re: note 63650 deleted from function.readfile by betz | ||
| References: | 1 2 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106767@lists.php.net to get a copy of this message | ||
You deleted the wrong note :)
I've edited the code in note #63649...
-Hannes
On 3/27/06, betz@php.net <betz@php.net> wrote:
> Note Submitter: stefan at stefandouma dot nl
>
> ----
>
> If you want to use readfile for opening a file from your ftp server use this:
>
> readfile("ftp://$username:$password@domain.com");
>
> This will not work:
>
> readfile(ftp_get($conn_id, $local_file, $server_file, FTP_BINARY));
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>