Leave it, it wont work.Here is one more logic -
-redirect the user to another php page when he tries to download the pdf, adn check his username/password there.
-if username/password are right just get him back to the previous page or else directly exit or do whatever you wish.
Reputation Points: 29
Solved Threads: 76
Practically a Master Poster
Offline 616 posts
since Sep 2009