Re: fsockopen and HTTP Authorization
| From: | Mika Tuupola | Date: | Thu, 28 Feb 2002 19:28:11 +0000 |
| Subject: | Re: fsockopen and HTTP Authorization | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86645@lists.php.net to get a copy of this message | ||
On Thu, 28 Feb 2002, Bas Jobsen wrote:
> I try to do a HTTP Authorization with a fsockopen, but it doesn't seem to
> work. Who can help?
> $user and $passwd are set well, my code:
I think you can spy from PEAR HTTP_Request class how it
can be done:
http://chora.php.net/cvs.php/pear/HTTP_Request
--
Mika Tuupola http://www.appelsiini.net/~tuupola/