curl-and-php
Re: RE: Re: Retrieving XML file through an HTTP url requiring athentication
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 5 Jan 2004 15:34:21 +0100 (CET)
Date: Mon, 5 Jan 2004 15:34:21 +0100 (CET)
On Mon, 5 Jan 2004 Christian_Dudek/URIEL.MC_at_URIEL.MC wrote:
> The cURL setting are enabled. In fact my question is how can I tell cURL
> to use Digest in PHP?
curl_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
... if that is supported. It works in libcurl since 7.10.6.
> Currently, the connection log shows that it's using Basic as
> authentication method.
Right, that's the default method.
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]] ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=clickReceived on 2004-01-05