hi
how can i make a simple comand to send a function to server with one id and in the server
take this id and make a dir?
i make this to send to my php file the note1
in the php i try this
but dont work =(
have a simple way to send a name and in php receiv this value
and make a dir with this value?
how can i make a simple comand to send a function to server with one id and in the server
take this id and make a dir?
i make this to send to my php file the note1
B4X:
Dim hc As HttpClient
Dim NV As Map
Dim req As HttpRequest
hc.Initialize("hc")
NV.Initialize
NV.Put("action", "abc")
req = MultipartPost.CreatePostRequest("http://74.63.193.55/multipartpost.php", NV, null)
hc.Execute(req, 1)
in the php i try this
PHP:
if (isset($_REQUEST['action'])){
$action=trim($_REQUEST['action']);
} else {
$action="";
}
if ($action == "abc"){
mkdir('mydir');
}
but dont work =(
have a simple way to send a name and in php receiv this value
and make a dir with this value?