I\'m new to HTML/PHP and I\'m trying to create a simple php file upload page. I have this as my HTML
You must add this snippet of code:
move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file);
after that:
echo "File is an image - " . $check["mime"] . ".";