[ale] Need to "authenticate" from C++

Jim Lynch ale_nospam at fayettedigital.com
Sat Dec 10 07:25:48 EST 2005


I'm not married to libwww, it's just what I'm familiar with.  Thanks to 
both of you for the tips.  I'll find a copy of libcurl and give it a try.

Jim.

Tony Carter wrote:

>>-----Original Message-----
>>From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On 
>>Behalf Of Jim Lynch
>>Sent: Friday, December 09, 2005 2:32 PM
>>To: ale at ale.org
>>Subject: [ale] Need to "authenticate" from C++
>>
>>I know how to use libwww to do normal posts and gets and pass 
>>parameters to web pages, but I now need to be able to use C++ 
>>to log into a web page that uses the .htaccess method of 
>>authentication.  Has anyone any idea how I'd need to pass the 
>>username and password to get authenticated or even where to 
>>start looking for the answer?
>>
>>Thanks,
>>Jim.
>>    
>>
>
>See: http://www.w3.org/Library/src/HTAAUtil.html for the how-to and sample.
>
>Personally, I use libcurl. curl_easy_setopt(easyhandle, CURLOPT_USERPWD,
>"myname:thesecret"); 
>See  man libcurl-tutorial.
>
>-Tony
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>
>
>  
>




More information about the Ale mailing list