<form name="uploadImage" action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="image">
Uploaded file information through the predefined array called $_FILES.
Uploaded file information is organized in $_FILES as a two-dimensional array as:
$_FILES['image']['name'] – The Original file name by the browser.
$_FILES['image']['tmp_name'] – The temporary filename of the file in which the uploaded file was stored on the server.
$_FILES['image']['type'] – The file type determined by the browser.
$_FILES['image']['size'] – The Number of bytes of the file content.
$_FILES['image']['error'] – The error code associated with this file upload.