I tried to login using the following code but had no luck
Dim URL As String = "
http://www.mcxnow.com/login.php?user=username&password=password"
Dim request As WebRequest = WebRequest.Create(URL)
request.Method = "POST"
request.ContentType = "application/x-www-form-urlencoded"
Dim response As WebResponse = request.GetResponse()
Dim reader As StreamReader = New StreamReader(response.GetResponseStream())
Dim str As String = reader.ReadToEnd()
TextBox1.Text = str
this is the login information i've found in the code of the page i'm trying to connect to
<div id="logincontainer"><a href='javascript:document.login.submit()'>Login</a><form id='login' name='login' method='post' action='?login'><input type='text' name='user' placeholder='username'><input type='password' name='pass' placeholder='password'><input type='submit' style='display:none;'/></form></div>
What am i doing wrong?