this is my code, it is work localhost or any ftp but exeoutput not work
function fileUploader($file_tmp, $file_type, $file_name) {
global $MAIN_URL;
global $newFileName;
$ch = curl_init();
$cfile = new CURLFile($file_tmp, $file_type, $file_name);
$data = array('filename' => $newFileName...