RE: [PHP] Re: Displaying PDF file

2002-09-12 Thread Matt Schroebel
> -Original Message- > From: Erwin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 11:02 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Displaying PDF file > > > Joseph Szobody wrote: > > Thanks Erwin, that helps but I'm still n

[PHP] Re: Displaying PDF file

2002-09-12 Thread Joseph Szobody
Ok I think it's working now. When I click the link going directly to the PHP script, it's displaying the PDF file in the browser appropriately. Exactly what I want. Now some of these PDF docs are so big, they could take a while to show up if a client is on a slow connection. So now I wa

[PHP] Re: Displaying PDF file

2002-09-12 Thread Erwin
Joseph Szobody wrote: > Thanks Erwin, that helps but I'm still not getting it to work. > Should I still use the > > Header("Content-type: application/pdf"); > > line? > > I tried using readfile() keeping the header. When I click the link to > the PHP script that should show me the PDF

[PHP] Re: Displaying PDF file

2002-09-12 Thread Joseph Szobody
Thanks Erwin, that helps but I'm still not getting it to work. Should I still use the Header("Content-type: application/pdf"); line? I tried using readfile() keeping the header. When I click the link to the PHP script that should show me the PDF, the IE status bar says something like

[PHP] Re: Displaying PDF file

2002-09-12 Thread Erwin
Joseph Szobody wrote: > I've made a website for a real estate appraiser, who wants to put all > his appraisals for his clients online. I have stored these PDF > documents in a folder outside of the webserver folder, for security. > When a client successfully logs in and clicks the link to biew the