if($_FILES["file"]["error"] != 0) { //stands for any kind of errors happen during the uploading }
也有
if($_FILES["file"]["error"] == 4) { //means there is no file uploaded }
if($_FILES["file"]["error"] != 0) { //stands for any kind of errors happen during the uploading }
也有
if($_FILES["file"]["error"] == 4) { //means there is no file uploaded }