Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check file selected in php

if(!isset($_FILES['file_upload']) || $_FILES['file_upload']['error'] == UPLOAD_ERR_NO_FILE) {
    echo "Error no file selected"; 
} else {
    print_r($_FILES);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #file #selected #php
ADD COMMENT
Topic
Name
5+6 =