[PHP] protecting a directory by php mysql

2010-08-11 Thread Ali Asghar Toraby Parizy
Hi. I need a protected directory in my server that only the authenticated user can reach all files in that folder(file type is zip and picture or a web page, maybe). I save user ID and passwords in mysql database. today I tried to use htaccess but mod_auth_mysql isn't installed on my server. I

Re: [PHP] protecting a directory by php mysql

2010-08-11 Thread Ashley Sheridan
On Thu, 2010-08-12 at 02:02 +0430, Ali Asghar Toraby Parizy wrote: Hi. I need a protected directory in my server that only the authenticated user can reach all files in that folder(file type is zip and picture or a web page, maybe). I save user ID and passwords in mysql database. today I