PHP + HTTP Authenticate

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
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

PHP + HTTP Authenticate

Post by hob_goblin »

how would i tell a script to use the HTTP Authentication if a cookie wasn't set, but not to authenticate if it was...

this is possible, right?
User avatar
Wayne
Forum Contributor
Posts: 339
Joined: Wed Jun 05, 2002 10:59 am

Post by Wayne »

http://www.php.net/manual/en/features.http-auth.php

this deal with the http authentication, and just add your Cookie handling as you would normally.
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

ahh, i feel like a moron now..
Post Reply