Posting to url
Posted: Mon Sep 02, 2013 3:19 am
Hi all ,
i wanted to post stuffs to a server so i found a sample postserver on the internet and try to post it to the server .
. is there something wrong with my codes ?
i wanted to post stuffs to a server so i found a sample postserver on the internet and try to post it to the server .
Code: Select all
put urlEncode(field "comment") into tcomment
put "comment=", tcomment into n
replace"," with "" in Pcomment
post Pcomment to url "http://posttestserver.com/post.php"
if the result is not empty then
answer it
else
answer "Unsuccessful"
end if