Re: http authentication through PHP
| From: | Manuel Lemos | Date: | Sat, 10 Jan 2004 20:18:15 +0000 |
| Subject: | Re: http authentication through PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174217@lists.php.net to get a copy of this message | ||
Hello,
On 01/10/2004 06:01 PM, Scott Taylor wrote:
What is the easiest way to access a page that is protected by HTTP basic authentication through PHP? In other words, I have a PHP page that will get the username and password off a database and will then login through HTTP authentication to access a second page (say an HTML page).You may want to try this class that comes with an example to do exactly what you ask: http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/