cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: script that renders a download

From: Kevin Carothers <kevindotcar_at_gmail.com>
Date: Tue, 22 Aug 2006 08:58:18 -0700

On 8/22/06, Tom <tom_at_cumbriankitchen.co.uk> wrote:
>
> Seems that things are getting a bit complicated.
> From your original mail, I guess that what you want to do is to fetch
> the file from the remote location to your server, and then serve it from
> there.
> In that case, the simplest thing to do is
> a) fopen the local file - if this fails (because it has not yet been
> fetched) then do (b)
> b) Fetch the file from the remote server using the O option that Daniel
> provided for us all (download a remote file to a named location)
> c) Repeat (a)

But how does the browser know what this binary stream of gobbledy-gook
coming down the pipe is?

KC

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-08-22