[PHP] Restricted access

2003-08-14 Thread Ciprian Trofin
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 enlighten me ? :)) -- T

Re: [PHP] Restricted access

2003-08-14 Thread Ciprian Trofin
What is readfile90 ? I tried google and nothing. MK> Yes, put the files outside of web root or protect them using .htaccess MK> file. After authorization use readfile90 to serve the file. There are MK> lots of tutorials on authentization and if you are using some CMS you MK> might have all you n

Re: [PHP] Restricted access

2003-08-14 Thread Marek Kilimajer
Yes, put the files outside of web root or protect them using .htaccess file. After authorization use readfile90 to serve the file. There are lots of tutorials on authentization and if you are using some CMS you might have all you need. Ciprian Trofin wrote: Hi All, I want to give access to re

Re: [PHP] Restricted access

2003-08-14 Thread Marek Kilimajer
I'm sorry, should be readfile(). Switched keyboard. Ciprian Trofin wrote: What is readfile90 ? I tried google and nothing. MK> Yes, put the files outside of web root or protect them using .htaccess MK> file. After authorization use readfile90 to serve the file. There are MK> lots of tutorials o