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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.