[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sat, 10 Dec 2005 07:25:48 -0500 -->
- <!--x-from-r13: nyr_abfcnz ng snlrggrqvtvgny.pbz (Xvz Zlapu) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 003801c5fcfd$c26ebd90$1f03a8c0@tonylaptop --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Need to "authenticate" from C++ -->
- <li><em>date</em>: Sat, 10 Dec 2005 07:25:48 -0500</li>
- <li><em>from</em>: ale_nospam at fayettedigital.com (Jim Lynch)</li>
- <li><em>in-reply-to</em>: <003801c5fcfd$c26ebd90$1f03a8c0@tonylaptop></li>
- <li><em>references</em>: <003801c5fcfd$c26ebd90$1f03a8c0@tonylaptop></li>
- <li><em>subject</em>: [ale] Need to "authenticate" from C++</li>
Jim.
Tony Carter wrote:
>>-----Original Message-----
>>From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> 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: <a rel="nofollow" href="http://www.w3.org/Library/src/HTAAUtil.html">http://www.w3.org/Library/src/HTAAUtil.html</a> 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
><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
>
>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00105" href="msg00105.html">[ale] Need to "authenticate" from C++</a></strong>
<ul><li><em>From:</em> tcarter at entrusion.com (Tony Carter)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00115.html">[ale] Tarring Root FS</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00117.html">[ale] AT Hayes command set</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00105.html">[ale] Need to "authenticate" from C++</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00102.html">[ale] Setting up "Fax Printer" under RHES 4.0 / Cups</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00116"><strong>Date</strong></a></li>
<li><a href="threads.html#00116"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>