Re: is there a pear download class?

From: Date: Mon, 04 Oct 2004 07:20:07 +0000
Subject: Re: is there a pear download class?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14743@lists.php.net to get a copy of this message
On Mon, 4 Oct 2004 09:28:44 +0800, Louie Miranda <lmiranda@gmail.com> wrote: > is there a pear download class or module? > > im having trouble with the basic.. > <?php > // We'll be outputting a PDF > header('Content-type: application/pdf'); > > // It will be called downloaded.pdf > header('Content-Disposition: attachment; filename="downloaded.pdf"'); > > // The PDF source is in original.pdf > readfile('original.pdf'); > ?> > > it corrupts the pdf, hoping pear has a ready module for it? :( > Use the search box! HTTP_Download -- paperCrane --Justin Patrin--

« previous php.pear.general (#14743) next »