Connect to a forum and login

What I already know.

  • Name of variable it sends username to.
  • Name of variable it sends password to.
  • URL to where it submits username and password.

What I would like to know is how can I connect to a forum and login using curl.
Please just list the steps I need to put in action. I’m not asking for any code.

Our own sitepoint has some examples (http://www.sitepoint.com/using-curl-for-remote-requests/)