if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Uploaded Successfully</b><br><br>'; } else { echo '<b>Upload Failed! </b><br><br>'; }