cURL / Mailing Lists / curl-users / Single Mail

curl-users

Post in a forum

From: lakk_esbjrn <lakk_esbjrn_at_yahoo.fr>
Date: Sun, 17 Aug 2008 19:03:57 +0200

Hi,

I would like to know if it is possible to post a reply in a forum
(phpBB, etc.) using cURL
For example :

URL of the reply :
http://forum.xxx/index.php?page=post&forum=xxx&category=6&topic=352931&option=newpost

<textarea class="userform" name="message" rows="12" cols="80"></textarea>

<input class="userform" value="Post this message" name="valid"
accesskey="S" type="submit">

I use the following command

curl -b "every cookies foud with Live HTTP ( separator = ;)" -A
"Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.1) Gecko/2008070400
SUSE/3.0.1-2.1 Firefox/3.0.1" -F "icon=1&panellist=panel1&message=My
message&valid=Post+this+message&activatesignature=1"
"http://forum.xxx/index.php?page=post&forum=xxx&category=6&topic=352931&option=newpost"

But it doesn't work, curl just gives me all the source-code of the url.
Is it an authentification problem ? is it possible to do this with cURL ?

Thank you for some help

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-17