<html> <head> <title>Prova</title> </head> <body> <form enctype="multipart/form-data" action='esempio.php' method='POST'> <input type='file' name='userfile' /> <input type='submit' value='upload' /> </form> </body> </html>