Jump to content

HTTP Auth Headers and MYSQL


white_lightning

Recommended Posts

Hi Guys,

 

This  is my first post as part of the community. I am working on a personal project for myself and was trying to password protect some pages. Im newish to php and was wondering if HTTP AUTH headers work with MYSQL Databases for usernames and passwords. Any help or insight would be greatly appreciated! Thanks!

 

Steve

Link to comment
https://forums.phpfreaks.com/topic/245400-http-auth-headers-and-mysql/
Share on other sites

Here is one I found:  http://www.rooftopsolutions.nl/blog/223

 

But i have used mod_auth_mysql which is an Apache module that uses MySQL.

 

Could you explain how to use mod_auth_mysql ? Sorry for all of the questions but I am really new at this. I know that I could also use a .htaccess but i want users to be able to register themselves and then immediately log in. I'm using XAMPP for a local testing server and I use dreamhost for the live stuff.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.