[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

[PHP] protecting a directory

2005-08-14 Thread jenny mathew
hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how to make user to enter passwod before giving the rights to view directory. is there any script like this.or can anybody

Re: [PHP] protecting a directory

2005-08-14 Thread André Medeiros
Apache already has that feature. It's a directive in .htaccess, IIRC. On 8/14/05, jenny mathew [EMAIL PROTECTED] wrote: hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how

Re: [PHP] protecting a directory

2005-08-14 Thread Esteamedpw
In a message dated 8/14/2005 10:54:57 A.M. Central Standard Time, [EMAIL PROTECTED] writes: hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how to make user to enter

[PHP] Protecting a directory

2001-07-12 Thread Tom Malone
I hope this is the appropriate place for this post - I apologize in advance if I'm stepping on any toes... I have created a database to manage my contacts in a sub-directory of my site. I used php user authentication to protect the directory, but you can still see the directory index by entering

RE: [PHP] Protecting a directory

2001-07-12 Thread Matthew Loff
: Thursday, July 12, 2001 11:24 PM To: [EMAIL PROTECTED] Subject: [PHP] Protecting a directory I hope this is the appropriate place for this post - I apologize in advance if I'm stepping on any toes... I have created a database to manage my contacts in a sub-directory of my site. I used php user