if($_FILES['myfile'][' name'] != '') {
if($_FILES['myfile']['error'] > 0) {
echo "Error status:" . $_FILES['myfile'][' error'];
} else {
move_uploaded_file($_FILES['myfile']['tmp_name'], "uploads/" . $FILES['myfile']['name']);
echo "<script>alert(Upload successful!);</script>";
}
} else{
echo "