cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Post in a forum

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 21 Aug 2008 21:47:23 +0200 (CEST)

On Sun, 17 Aug 2008, lakk_esbjrn wrote:

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

It is!

> <textarea class="userform" name="message" rows="12" cols="80"></textarea>
>
> <input class="userform" value="Post this message" name="valid" accesskey="S"
> type="submit">

> curl -b "every cookies foud with Live HTTP ( separator = ;)"

That's useless. Cookies very often get unique dynamic content. You need to
first do a login or similar to get the cookie contents for real. And -c is
your friend then.

You should also find further reading on this kind of voodoo here:

         http://curl.haxx.se/docs/httpscripting.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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-21