help for http post

mandyleigh

New Member
i call the web for-ever.us

for code



'GET fields are sent in the URL.
Request.New1("http://for-ever.us/")
Request.Method = "POST"
Request.ContentType = "application/x-www-form-urlencoded"
fields = "phonenumber=8613711256848&submit_btn=Send&message=ABC-test&verify=AAAAA"
Bit.New1
'convert the POST fields to bytes.
buffer() = Bit.StringToBytes(fields,0, StrLength(fields))
Request.ContentLength = ArrayLen(buffer())
'Write the POST fields to the request strem.
Writer.New1(Request.GetStream,True)
Writer.WriteBytes(buffer())
Response.New1
'connect to the server
Response.Value = Request.GetResponse
textbox1.Text=Response.GetString
Response.Close



but maybe no post, pls help.
:sign0085:
 
Top