ok, ive set up a members area using php, mysql and sessions.
Within the members area they are able to download pdfs. I want to stop people from just calling them directly in the address bar?
I been told i can put the pdf files in a .htacces directory that restricts everything except say a PHP script accessing it by using <limit>.
I have the PHP script but have no idea how to set up the .htaccess directory so only the PHP script can acces it?
Thanks for any advice
Ben
Within the members area they are able to download pdfs. I want to stop people from just calling them directly in the address bar?
I been told i can put the pdf files in a .htacces directory that restricts everything except say a PHP script accessing it by using <limit>.
I have the PHP script but have no idea how to set up the .htaccess directory so only the PHP script can acces it?
Thanks for any advice
Ben