Answers for "form attributes to upload file"

5

multipart form

<form action="upload.php" method="post" enctype="multipart/form-data">
  Select image to upload:
  <input type="file" name="fileToUpload" id="fileToUpload">
  <input type="submit" value="Upload Image" name="submit">
</form>
Posted by: Guest on August-30-2020

Browse Popular Code Answers by Language