Re: header() function for displaying an opened PDF document.

From: Date: Tue, 14 Oct 2003 12:46:25 +0000
Subject: Re: header() function for displaying an opened PDF document.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-166056@lists.php.net to get a copy of this message
Not using the session. :-) Oh well... "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3F8BE97D.90305@webglobe.sk... > Are you using sessions? Then you need > session_cache_limiter('private_no_expire'); > > Scott Fletcher wrote: > > > I seem to be having problem with sending the PDF document to the browser to > > be open on screen. I kept getting the error message, it say 'Windows cannot > > open this file'. Here's my sample script, so what am I doing wrong?... > > > > --snip-- > > header("Content-Type: application/pdf"); > > header("Content-Length: '40736'"); > > header("Content-Disposition: inline; filename='junk.pdf'"); > > --snip-- > > > > Thanks, > > Scott F. > >

« previous php.general (#166056) next »