big problem with POST metod...

Byak@

Active Member
Licensed User
in my app i'm use autorizing with post metod.
PHP:
bit.New1
httptools.New1
code="&pass="&spass&"&email="&httptools.UrlEncode(semail)&"&"
buffer()=bit.StringToBytes(code,0,StrLength(code))
Response.New1
Request.New1("http://pda.vkontakte.ru/login?pda=index&acknowledge=1")
request.ContentType="application/x-www-form-urlencoded"
Request.Method = "Post"
request.ContentLength=ArrayLen(buffer())
Writer.New1(Request.GetStream,true)
Writer.WriteBytes(buffer())
response.Value=Request.GetResponse
s=response.Headers
response.Close
in Desctop it's work right,but sometimes i have error "server return 404 error".but from browser i go to pda.vkontakte.ru fine.

in Device(wm2003) it's not work!i always have error in "response.Value=Request.GetResponse".but connection work fine.

how?what i'm do bad?

in attach example...please help me!:sign0148:
 

Attachments

Byak@

Active Member
Licensed User
and how can i do it?maybe set useragent?i'm set "mazilla firefox" but not happend...please help me!
 
Top