".$_POST["targetPath"]); rename($_FILES['uploadFile']['tmp_name'], $_POST["targetPath"]); } error_log("Indicating successful upload"); echo ''; } else { error_log("Indicating failed upload"); echo ''; } ?>