Branches
Comments
[»]
Example of test_http_post.php with authentication
by Nick Lewis - Jul 12th 2007 09:25:43
I do not understand how to do a http post with digest authentication using
the http.php class file.
Would it be possible to add digest authentication to the
test_http_post.php example to help me please
[reply]
[top]
[»]
Re: Example of test_http_post.php with authentication
by Manuel Lemos - Jul 12th 2007 10:27:55
> I do not understand how to do a http
> post with digest authentication using
> the http.php class file.
>
> Would it be possible to add digest
> authentication to the test_http_post.php
> example to help me please
You need to include the SASL class. That is listed on the package
dependencies.
BTW, in the future please use the package discussion
forum, as it is easier for me to provide support there.
[reply]
[top]
[»]
FTP mirror
by milky - Aug 16th 2005 08:42:06
archived version is downloadable at ftp://ftp.berlios.de/pub/fpc/httpclient/
[reply]
[top]
[»]
Supporting HTTP Digest Authentication
by Sérgio Nunes - May 21st 2004 09:58:51
Hi,
are you planning on adding support for HTTP *Digest* Authentication ?
I can't seem to find any work on Digest Auth for PHP.
[reply]
[top]
[»]
Re: Supporting HTTP Digest Authentication
by Manuel Lemos - May 21st 2004 10:21:53
> are you planning on adding support for
> HTTP *Digest* Authentication ?
>
> I can't seem to find any work on Digest
> Auth for PHP.
I was not planning but I can add it if there is anybody with a server page
requiring Digest Authentication willing to test it. I also accept patches
to make that happen faster.
[reply]
[top]
[»]
Re: Supporting HTTP Digest Authentication
by Tom Lianza - Oct 24th 2005 13:55:37
>
> % are you planning on adding support
> for
> % HTTP *Digest* Authentication ?
> %
> % I can't seem to find any work on
> Digest
> % Auth for PHP.
>
>
>
> I was not planning but I can add it if
> there is anybody with a server page
> requiring Digest Authentication willing
> to test it. I also accept patches to
> make that happen faster.
I'm pretty sure this page requests Digest Authentication:
http://services.msn.com/svcs/hotmail/httpmail.asp
When I try to connect to it, I get an error from the http class that says
"Error: authentication error: it was not requested any of the
authentication mechanisms that are supported" and the headers mention WWW
digest. Would it be possible for you to test against that server? It
would open up the ability for someone to create a PHP frontend to hotmail
also, if they so desired.
[reply]
[top]
[»]
Re: Supporting HTTP Digest Authentication
by Manuel Lemos - Oct 24th 2005 14:06:45
> % % are you planning on adding support
> % for
> % % HTTP *Digest* Authentication ?
> % %
> % % I can't seem to find any work on
> % Digest
> % % Auth for PHP.
> %
> %
> %
> % I was not planning but I can add it
> if
> % there is anybody with a server page
> % requiring Digest Authentication
> willing
> % to test it. I also accept patches to
> % make that happen faster.
>
>
>
> I'm pretty sure this page requests
> Digest Authentication:
> http://services.msn.com/svcs/hotmail/httpmail.asp
Great. You are right. It requests HTTP Digest authentication. Thanks for
the tip.
> When I try to connect to it, I get an
> error from the http class that says
> "Error: authentication error: it was not
> requested any of the authentication
> mechanisms that are supported" and the
> headers mention WWW digest. Would it be
> possible for you to test against that
> server? It would open up the ability
> for someone to create a PHP frontend to
> hotmail also, if they so desired.
Yes, that is the message that should appear when the requested
authentication method is not yet supported.
This should be sufficient to let me test a new SASL class plug-in that
implements HTTP Digest authentication. I will try to develop that ASAP.
Hang on.
[reply]
[top]
[»]
Re: Supporting HTTP Digest Authentication
by Tom Lianza - Oct 25th 2005 10:59:23
> This should be sufficient to let me test
> a new SASL class plug-in that implements
> HTTP Digest authentication. I will try
> to develop that ASAP. Hang on.
I'm not sure if this is helpful, but in the comments for the fopen
function someone posted some code that appears to interact (as a client)
with HTTP digest servers, although they're using it specifically to do a
file download:
http://us2.php.net/manual/en/function.fopen.php#51592
[reply]
[top]
[»]
Re: Supporting HTTP Digest Authentication
by Manuel Lemos - Oct 26th 2005 22:35:57
> I'm not sure if this is helpful, but in
> the comments for the fopen function
> someone posted some code that appears to
> interact (as a client) with HTTP digest
> servers, although they're using it
> specifically to do a file download:
> http://us2.php.net/manual/en/function.fopen.php#51592
>
I see. That may work in some cases, but the implementation is not really
error proof. It is better to follow the HTTP Digest RFC to learn how to do
it right.
Meanwhile I implemented it now. Both HTTP and SASL classes were updated to
make it work. It can authenticate with Hotmail, but keep in mind that
Microsoft restricts the access to Hotmail via Outlook Express to paying
subscribers.
[reply]
[top]
[»]
Re: Supporting HTTP Digest Authentication
by Manuel Lemos - Nov 8th 2005 13:06:49
In case you have not noticed, both the SASL package and the HTTP client
class were updated and they support HTTP Digest authentication now.
[reply]
[top]
[»]
test_http_cookies.html
by Bob Gorman - Apr 16th 2002 16:40:06
Need to change the default host_name to "www.phpclasses.org".
[reply]
[top]
[»]
Re: test_http_cookies.html
by Manuel Lemos - Apr 16th 2002 23:47:59
> Need to change the default host_name to
> "www.phpclasses.org".
>
I updated it but the URL is equivalent. Thanks for the concern anyway.
[reply]
[top]
|