RE: [PHP] Setting PHP Authentication manually?

From: Date: Tue, 28 May 2002 04:05:43 +0000
Subject: RE: [PHP] Setting PHP Authentication manually?
Groups: php.general 
Request: Send a blank email to php-general+get-99433@lists.php.net to get a copy of this message
Two way's I can see 1. Use session variables 2. Use client side cookies Martin -----Original Message----- From: Laura Harley [mailto:lharley@designinteractive.com] Sent: Tuesday, May 28, 2002 2:02 PM To: php-general@lists.php.net Subject: [PHP] Setting PHP Authentication manually? I am trying to build a login page for client project review site. 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? Can I set $PHP_AUTH_USER and $PHP_AUTH_PW manually? If so, does this set the Web server's authentication values for user name and password? If not, how can I use PHP to set authentication credentials that the Web server recognizes? Also, if I don't prompt the user with header( ) calls, how do I get the authentication cache on the client browser to store the auth data? Any ideas? Please help. Thanks. -- ---------------------------------------------------------------------------- ----------- Laura Harley Sr Web Architect and Principal Manager Design Interactive, LLC PO Box 17356 Alexandria, VA 22302 Tel: 703-578-1544 Website: http://www.designinteractive.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#99433) next »