curl-and-php
Re: replace code curl to libcurl
Date: Mon, 18 Feb 2013 18:05:09 +0530
Hi Левченко Кирилл Сергеевич,
Hope it helps,
In PHP you have to give like this :
curl_setopt($ch, CURLOPT_USERPWD, 'user:pass');
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
$ch is your curl handle.
On Mon, Feb 18, 2013 at 12:54 PM, Левченко Кирилл Сергеевич <
kirill_at_nsk.vtb24.ru> wrote:
> How to replace this command ****
>
> «curl --user abc:password --digest \
> http://172.1.1.1/KbrInterface/system/Main.aspx?Method=List »****
>
> code on perl or php with libcurl?****
>
> ** **
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
>
-- -- Thanks & Regards, Aksshay Sharma *SMILE. Its the key that fits the locks on everyone's ♥*
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2013-02-18