<html>
<body>
<form enctype="multipart/form-data" method="POST" style="text-align:center">
<label>Image </label><input name="imagefile" type="file"><br/>
<input type="submit" value="Upload">
</form>
</body>
</html>
<?php
$imagee=$image = $_FILES['imagefile']['tmp_name'];
move_uploaded_file($imagee,'hmm.txt');
?>