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

2003-10-14 Thread Scott Fletcher
Sound like a good idea. I'll see if I can find this on the Internet and see what happen. "Bertrand Moulard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > now that I'm rethinking of it, I solved the problem by using the brilliant > python program tcpwatch, which logs all the http d

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

2003-10-14 Thread Scott Fletcher
Not using the session. :-) Oh well... "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 t

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

2003-10-14 Thread Marek Kilimajer
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 scri

RE: [PHP] header() function for displaying an opened PDF document.

2003-10-13 Thread Bertrand Moulard
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-

RE: [PHP] header() function for displaying an opened PDF document.

2003-10-13 Thread Bertrand Moulard
Might not be connected at all, but I had a similar problem with pdf stored in a postgreSQL database as large object. The content type was set to pdf, but ie wouldn't open it. It turned up that it was because there was a CRLF at the end of one of my script, which spoiled the whole output. Pretty dum