not sure i follow...you open it with php do whatever you need and close
it...its just a text file...
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php htpasswd
I'm sure question has been
Jack,
not sure i follow...you open it with php do whatever you need and close
it...its just a text file...
It's not just a text file delimited by a colon. You can indeed just type:
user:password
but it should be:
user:crypt(password)
When I perled, I knew how to database a text file
?
include_once('cookie.egn');
include_once('database.egn');
function bad_passwd()
{
echo You have entered an invalid password.br\n;
exit();
}
if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r =
fetch_db_value('people_manager', WHERE username = '$PHP_AUTH_USER' AND
3 matches
Mail list logo