<?php
header('Access-Control-Allow-Origin: *");
exit;
}
else {
header('Access-Control-Allow-Origin: *");
}
//if(move_uploaded_file($_FILES['Filedata']['tmp_name'], $target_path)) {
//echo "The file ".basename( $_FILES['Filedata']['name'])." has been uploaded\n";
if ($_POST['filename"]) {
}
else {
echo "Upload successful";
}
// echo "POST:\n";
// foreach($_POST as $key => $value) echo $key."=".htmlentities($value)."\n";
// echo "GET:\n";
// foreach($_GET as $key => $value) echo $key."=".htmlentities($value)."\n";
//} else {
// echo "There was an error uploading the file, please try again!";
//}
?>