There is a easier way, I use this all the time and I don't have a problem
with it. Sometime the header() need some tweaking to make it work right.
You must include an exit() function after the header() due to bugs and bugs
in IE. This script below is what I use for file download. Instead of file
Ciprian Trofin wrote:
Hi All,
I want to give access to resources (PDFs and some RTFs) only to registered
users and I also want to deny that kind of access to people that "guess"
the URL. I guess it is all about putting these files outside the web-tree
and somehow putting PHP to work.
Could you enl
2 matches
Mail list logo