My CGI script (perl) needs to log in to a bulletin board (to regularly post updates there).
This used to work:
$response = $ua->request(POST, '
http://p099.ezboard.com/BBSUser.authoriseUser', [login=> 'name', password=>'password']);
However, recently the bulletin board was "upgraded" and now the source of the page where you log in
(
http://www.yuku.com/) has this funky stuff for it's login form:
<form action="" class="login-form" method="post"><div><label>
Username or E-mail:</label><input name="login" type="text" title="enter your username or e-mail address" class="mgr-text sliver-login-username"><la
bel>Passwo
rd:</label
><input name="password" type="password" title="enter your password" class="mgr-text sliver-login-password">
<input type="submit" class="sliver-button" value="Log In"></div>
</form>
(and obviously other stuff in the header that might relate to this)
How do I go about forming a response to this form?
(Ancilliary/alternative question: how can I look at what my browser (Firefox) sends when I press the log in button manually?)
Thanks!