Code has been added to clipboard!

HTML Form for PHP File Upload

Example
<!DOCTYPE html>
<html>
<body>

<form action="upload.php" method="post"enctype="multipart/form-data">
    Select the image you want to upload:
    <input type="file" name="file_to_upload"id="file_to_upload">
    <input type="submit" value="image upload"name="submit">
</form>

</body>
</html>