Wednesday 3 September 2014

PHP upload empty checking

PHP upload file is checking for empty or null 

if (!empty($_FILES['file2']) && ($_FILES['file2']['name'] != ''))
{

}

No comments:

Post a Comment