Logging in with cURL

Sometimes you might want to monitor or grab pages directly from scripts. It is easy, unless your DokuWiki installation requires logging in. In that case you can use cookie and POST variable support in curl.