Re: Passing files from A to B
| From: | CC Zona | Date: | Tue, 02 Oct 2001 22:04:46 +0000 |
| Subject: | Re: Passing files from A to B | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69645@lists.php.net to get a copy of this message | ||
In article <3BBA2CB4.1400E035@chello.be>,
dirk.maetens@chello.be (Dirk Maetens) wrote:
> Server A:
> PHP 4.01pl2
> Safe Mode On
> Not configured with ftp functions
>
> Server B: ftp access, no PHP (shame)
>
> On Server A I use output buffering to generate some simple HTML files.
> So far so good. My problem starts when I want to copy these files from
> Server A to Server B, where the public can get to them. How can I
> accomplish this? Any help (RTFM included) is as welcome as it will be
<http://www.php.net/manual/en/ref.ftp.php>
There's even an example script
right on the first page of the chapter. Just substitute ob_get_contents()
where it says $source_file and you're practically done.
--
CC