At 12:58 AM 2/11/2002 +0200, Bogdan Stancescu wrote:
>Well, you have to send the actual file - otherwise the result of a zero-length
>file is not surprising at all.

That makes sense.  I thought the last line was doing that.  How would I do 
it in a way that works for local and remote files?


> >         $content_type = "Content-type:  application/zip";
> >         header($content_type);
> >         header("Content-disposition: filename=".$filename);
> >         header($destination);


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

Reply via email to