--- a/upload.php +++ b/upload.php @@ -4,7 +4,7 @@ ?> <form name="upload" action="confirmUpload.php" method="POST" ENCTYPE="multipart/form-data"> -Select the file to upload: <input type="file" name="userfile"> +Select the file to upload: <input type="file" name="userfile" accept="image/*"> <input type="submit" name="upload" value="upload"> </form>