// Check if image file is a actual image or fake image // Check if file already exists // Check file size // Allow certain file formats // Check if $uploadOk is set to 0 by an error // if everything is ok, try to upload file