Page 1 of 1

PHP + HTTP Authenticate

Posted: Tue Jul 23, 2002 10:30 pm
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?

Posted: Wed Jul 24, 2002 3:54 am
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.

Posted: Wed Jul 24, 2002 3:55 am
by hob_goblin
ahh, i feel like a moron now..