0
this is your html file:
<form action="uploadFile.php" method="post" enctype="multipart/form-data">
Select your to upload:
<input type="file" name="fileToUpload" >
<input type="submit" value="Upload Image" name="submit">
</form>
Now in your uploadFile.php
using post request grab the file and put it in your server.



