Author Options:

How do I login to a php page using sockets within mIRC ? Please go through the information provided. Thank you. Answered

This is the info I have:
<form action="index.php?" method="post" name="loginform">
<input type="text" id="uname" name="uname" style="width: 75px; height: 16px;" onfocus="this.value=(this.value=='Username'?:this.value);">
<input type="password" id=pword name=pword style="width: 75px; height: 16px;" onfocus="this.value=(this.value=='Password'?:this.value); this.type='password';">
<input type="submit" name="login" value="Login" style="width: 60px; height: 24px; font-size: 16px;" class=but onclick="ajax('login.php?user='+v('uname')+'&pass='+md5(v('pword'))); return false;">

How would I go about using the POST method using sockets in mIRC, I am able to connect just fine using the GET method. I am also able to pick up the value for PHPSESSID but unsure how to use it.