Authentication with PHP and HTTP

From: Date: Mon, 04 Nov 2002 21:25:26 +0000
Subject: Authentication with PHP and HTTP
Groups: php.general 
Request: Send a blank email to php-general+get-122702@lists.php.net to get a copy of this message
I have a site that uses PHP/MySQL authentication for one section and Apache/HTTP authentication for another. Eventually I would like to use only PHP and MySQL for authenticating users, but in the meantime, I have to use both. First, users will log in to the main section of the site and I will use PHP session variables to maintain state for that section. What I would like to be able to do is allow users to click a link that would redirect them to the other section of the site and automatically log them in. The section of the site that users will be redirected to uses .htaccess and .htpassword files to enforce HTTP authentication. Is this possible? If so, how? ========================= http://www.pverskine.com/ _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

« previous php.general (#122702) next »