Douglas Farias Expert Licensed User Longtime User Apr 28, 2014 #1 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 Code: Copy 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: Copy 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?
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 Code: Copy 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: Copy 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?
Douglas Farias Expert Licensed User Longtime User Apr 28, 2014 #2 i fixed can close *-* this code is correct *-* Upvote 0