Re: header() function for displaying an opened PDF document.
| From: | Scott Fletcher | Date: | Tue, 14 Oct 2003 12:47:04 +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-166057@lists.php.net to get a copy of this message | ||
Sound like a good idea. I'll see if I can find this on the Internet and see
what happen.
"Bertrand Moulard" <b@twin-pix.com> wrote in message
news:JEELLMBBBIIOKKOKLNCNMEBHCDAA.b@twin-pix.com...
> now that I'm rethinking of it, I solved the problem by using the brilliant
> python program tcpwatch, which logs all the http data going in and out
your
> browser. Very easy to run and so handy (not only for this problem). Would
> find the url for dld if you want.
>
> cheers
>
> .b
>
> -----Original Message-----
> From: Scott Fletcher [mailto:scott@abcoa.com]
> Sent: 13 October 2003 22:15
> To: php-general@lists.php.net
> Subject: [PHP] header() function for displaying an opened PDF document.
>
>
> 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