[PHP-DB] HTTP Authentication with MySQL/PHP

2002-11-17 Thread David Smith
I have a directory 'admin' that has been .htaccess'ed off. Ie, If you point your browser at that directory, you will be prompted with an HTTP authentication dialog. Nothing special about PHP or MySQL there. I like the security that .htaccess and Apache give me. Now, I have users in a MySQL table w

[PHP-DB] HTTP authentication

2002-04-04 Thread John Hughes
Earlier I posted a question about why the failure message in my HTTP authentication script wasn't working. I figured out the answer. There was no place to go if the user entered a username or password that wasn't in the database. Below is the corrected code. John Hughes \n"); } #END IF ON SQL

[PHP-DB] HTTP authentication script failure display

2002-04-04 Thread John Hughes
I have adapted a HTTP authentication script from Leon Atkinson's Core PHP book. I've done something that stopped the failure message from displaying. The password request works and valid users are sent to the correct page. But instead of getting "This directory requires a user name and password"

RE: [PHP-DB] HTTP authentication

2002-01-22 Thread Mikusch, Rita
ne, I'll eventually be an expert! Rita. -Original Message- From: news.php.net [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 20, 2002 6:17 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] HTTP authentication Dear Beau, Thanks for your answer, and indeed.. it doesn't have too muc

RE: [PHP-DB] HTTP authentication

2002-01-20 Thread Beau Lebens
AIL PROTECTED]] // Sent: Monday, 21 January 2002 10:17 AM // To: [EMAIL PROTECTED] // Subject: Re: [PHP-DB] HTTP authentication // // // Dear Beau, // // Thanks for your answer, and indeed.. it doesn't have too // much to do with // databases, although if an example of authentication using a //

Re: [PHP-DB] HTTP authentication

2002-01-20 Thread news.php.net
a "valid-user" (any valid combo from the file) and > if so, allows them access. > > you can get more information on all of this in the apache docuemntation at > apache.org, search for "htaccess" and you might also be interested in the > groups ability of the

RE: [PHP-DB] HTTP authentication

2002-01-20 Thread Beau Lebens
ot;htaccess" and you might also be interested in the groups ability of the system, so search for "htgroup" (i think) hth beau // -Original Message- // From: news.php.net [mailto:[EMAIL PROTECTED]] // Sent: Monday, 21 January 2002 3:36 AM // To: [EMAIL PROTECTED] //

[PHP-DB] HTTP authentication

2002-01-20 Thread news.php.net
Heya, I'm trying to find out how http header authentication works. For some reason my webserver won't do it on a directory basis. But the problem is that the documentation that came along with the PHP package doesn't help me much. Can you guys give me a working example on how to use and implemen