Re: Delivering an authenticated pdf

From: Date: Sun, 09 Sep 2001 00:35:29 +0000
Subject: Re: Delivering an authenticated pdf
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66559@lists.php.net to get a copy of this message
http://php.net/readfile http://php.net/header You'll want to send Content-type: application/x-octet-stream if you want to force download, or, errr, whatever a PDF is if you want them to just view it. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: George Pitcher <fmdev@yahoo.co.uk> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Friday, September 07, 2001 1:04 AM Subject: Delivering an authenticated pdf > Hi all, > > I want to be able to, after authentication, read a pdf into a string and > then write it out to the client through the browser. > > I can't do all of the procedure in PHP as it's an add on to a > Lasso/Filemaker site. I can handle the transfer between the two processes, I > just need to do the writing out to the client. > > Has anyone done this sort of thing before? (Not the lasso/php stuff but pdf > delivery.) > > The reasoning is that the user should not be able to get to the pdf unless > they have been authenticated (in Lasso). > > Any suggestions? > > > Regards > > George Pitcher > > Technical Manager > HERON Project > Napier University > Edinburgh EH10 5DT > > fmdev@yahoo.co.uk > gep1@stir.ac.uk > safc2_1nufc@yahoo.com > > Work: www.heron.ac.uk > Play : www.pingu.napier.ac.uk > > ================================================ > programmer - A device for transmuting caffeine into code. > ================================================ > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >

« previous php.general (#66559) next »