Cant get authenciation working

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gerrymac
Forum Newbie
Posts: 15
Joined: Sat Mar 13, 2004 6:19 am

Cant get authenciation working

Post by gerrymac »

Hi i am having problems getting authenication working on my site. I ahve my code which uses ($PHP_AUTH_USER)) and $PHP_AUTH_PW) method. I ma pretty such that my code is right but the system still will not validate the user that i have in my user database, Is there a setting on either apache or PHP that enables this to work or is there any add on that needs to be added.

Thx
Gerry
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Try using $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] but without seeing some code it's anyones guess ;)
Post Reply