simple uploading script in php

<?php
//simple uploading script in php
//echo "Upload: " . $_FILES["file"]["name"] . "<br>";
echo "File Name ".$_FILES["file"]["name"] . "<br>";
echo "File Type ".$_FILES["file"]["type"] . "<br>";
echo "File Temp ".$_FILES["file"]["tmp_name"] . "<br>";
echo "File Size ".$_FILES["file"]["size"]."<br>";
move_uploaded_file($_FILES["file"]["tmp_name"],$_FILES["file"]["name"]);
?>
<html>
<title>Simple file uploading in php</title>
<body>
<form method="post" action="fileuploading.php" enctype="multipart/form-data" >
<label for="file">Filename:</label>
<input type="file" name="file" id="file">
<br>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>