<!DOCTYPE html> <html> <body> <form action="upload.php" method="post" enctype="multipart/form-data"> Select image to upload: <input type="file" name="file" id="file"> <input type="submit" value="Upload Image" name="submit"> </form> </body> </html>
info at phpclasses dot org