Encoding & Decoding Help

Ksmith1192

Member
Licensed User
Longtime User
I have seen a couple of posts about how you can encode text into a webURL and send it to a remote server.

I saw this line of code from http://www.b4x.com/forum/basic4android-updates-questions/23604-need-help-url-encoding-decoding.html#post136724

B4X:
ExecuteRemoteQuery("http://localhost:10088/Countries/collector.php?xaddress="&xaddress&"&xbody="&xbody&"&smsread="&smsread&"&smsdate="&smsdate&"&smstime="&smstime&"&msgid="&msgid,1)

But I don't understand how this works. I am trying to send a body of text from "edittext1" to a site at feeddealer.com/cgi-bin/

Is there anyone that could at least point me in the right direction? Thank you!
 

abner69

Member
Licensed User
Longtime User
you are going to want to send to the server via POST or GET... The mas simple way is to use the httputils2 routine. you can find more information on httputils2 Here.

...Pablo
 
Upvote 0
Top