cURL / Mailing Lists / curl-library / Single Mail


Re: Sending password and username

From: darekg11 <>
Date: Tue, 03 May 2011 23:11:17 +0200

Dnia 3 maja 2011 21:03 Iskander Ben mahmoud &lt;; napisał(a):
you can use the option : CURLOPT_POSTFIELDS and post le user name and the password, ( suppose that the post url is :  connect.php?usr=XXXX&amp;pass=XXXX ) if you are using firefox you can get $_POST var with "data tamper" add-on
2011/5/3 Alan Wolfe &lt;;
Essentially you have to look at how the site itself sends the username
and password in the http request, and then mimic that http request
with libcurl.
libcurl does HTTP but it doesn't parse html or fill out web forms.
On Tue, May 3, 2011 at 10:49 AM, darekg11 &lt;; wrote:
&gt; Hi, how can I send password and username to the server? There is one site with login page with 2 boxes: username and password. How can I send information there and receive anwser from server?
&gt; -------------------------------------------------------------------
&gt; List admin:
&gt; Etiquette:
List admin:

Skander Ben Mahmoud
Administrateur et Créateur de admin:
I used add-on and got:
So in libcurl I send login=xxx&amp;passwd=xxx ?

List admin:
Received on 2011-05-03