Home > Software engineering >  The code was wrong for me? Your simulation how all don't go in
The code was wrong for me? Your simulation how all don't go in

Time:10-06

Private Sub Command1_Click ()

The username="testtest"
Password="123456"
Checkcode="bedb"

StrA="username=" & amp; Username& "& amp; Password="& amp; The password & amp; "& amp; Checkcode="& amp; Checkcode
Set oReq=CreateObject (" WinHttp WinHttpRequest. 5.1 ")
OReq. Open the "POST", "http://www.abcde.com/abctest.php? C=user& A=login ", False


OReq. SetRequestHeader "Content - Length", Len (strA)
OReq. SetRequestHeader content-type ", "" application/x - WWW - form - urlencoded"
OReq. Send strA
Response_Cookie=oReq. GetResponseHeader (" Set - cookies ")
Strweb=oReq. The ResponseText
'the Debug. Print strweb
End Sub
I don't know where code is wrong? Login don't go in, there is no error, the WinHttp reference well, I don't have the points, to help it

CodePudding user response:

http://www.abcde.com/?
Don't even give a link, who also can't help you!!!

CodePudding user response:

Cookies and referer is likely to be influential to submit
  • Related