How could I programmatically post to a forum (like this one) using C?
Any code examples?
How could I programmatically post to a forum (like this one) using C?
Any code examples?
How do we know that the previous post was not posted programmatically?
Huh? It wasn't.
If you're thinking of inventing a spamming program, forget it, because it's moronic and stupid.
If you're thinking of inventing something useful, then I will say that unless you can find libraries that support such a task, you'll be stuck with learning how to use sockets and handle raw HTTP. It can be quite ugly if you're a beginner to coding.
Of course I want the second.
Is there a library that can help me?
Other than cURL?
The HTTP RFC2616 isn't really that complicated, all you have to do is send the exact same data as you would by submitting a form, which means, send the POST data to the "submit" script, which you'll find in the form.action part in the html code.
Just connect to the webserver on port 80 and send the data, even if you don't read out the returned data, your post has been submitted and added to the forum by the script.
Yeah and before you know it they'll add CAPTCHA tests on here...