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.


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



Reply via email to