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 t

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

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

RE: [PHP] Protecting a directory

2001-07-12 Thread Matthew Loff
With PHP, not without creating an index file. If the server is apache, you can simply create a .htaccess file in the directory, containing: order deny,allow deny from all I'm pretty sure that should do it. -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Thursd