Re: Setting PHP Authentication manually?

From: Date: Tue, 28 May 2002 04:15:03 +0000
Subject: Re: Setting PHP Authentication manually?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99435@lists.php.net to get a copy of this message
> I DO NOT want to prompt the user for username and password with header > calls to the browser. I don't want the authenticate dialog box to pop up > on the client browser; I want to collect the username and password on a > PHP or HTML page--I need to collect more data than just username and > password. But when the user submits the login data, I want to set > authentication credentials that work just as though the user entered > data in the pop up. How can I do this with PHP? Impossible. HTTP simply does not support you setting these credentials in the remote browser directly. The best you can do is emulate it using cookies and/or sessions. -Rasmus

« previous php.general (#99435) next »