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 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 trouble. The browser shows a long list of weird characters instead of the pdf file <-- snip--> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php