Re: [PHP] Read a PDF File using php

2003-10-01 Thread Kevin Stone
Launching this script will prompt a file download screen if the Acrobat Reader Plugin is not available on the client browser. Otherwise it will display inside the browser window using the plugin. Hope that helps. - Kevin "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> wrote in message news:[

Re: [PHP] Read a PDF File using php

2003-10-01 Thread Pushpinder Singh Garcha
No I am not sending any headers to the browser. Any suggestions ! Thanks On Wednesday, October 1, 2003, at 04:05 PM, Tyler Lane wrote: Are you sending a Content-Type header to the browser to let it know what type of file you are sending it? -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Read a PDF File using php

2003-10-01 Thread Tyler Lane
Are you sending a Content-Type header to the browser to let it know what type of file you are sending it? On Wed, 2003-10-01 at 12:27, Pushpinder Singh Garcha wrote: > Hello All > > I need to allow a user to access a PDF file, only if he/she is logged > in as a registered user. So here is the c

Re: [PHP] Read a PDF File using php

2003-10-01 Thread Chris Sherwood
http://ca.php.net/manual/en/ref.pdf.php check this out you should find what you need <-- snip --> From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> I need to allow a user to access a PDF file, only if he/she is logged in as a registered user. So here is the code that I am trying to use. I hav

[PHP] Read a PDF File using php

2003-10-01 Thread Pushpinder Singh Garcha
Hello All I need to allow a user to access a PDF file, only if he/she is logged in as a registered user. So here is the code that I am trying to use. I have been able to make this work in the past, when I had to read .html file, now since the file in question is a .pdf file, I am having troubl