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
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
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
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
4 matches
Mail list logo