javascript
Brief description  about Online courses   join in Online courses
View Mahadev Kumar Sahu 's Profile

How to upload file in HTML

<html>
<body>
<form action="fileinsert.html" method="post">
<p>
Enter Your Text (Optional):<br>
<input type="text" name="textwrite" size="15">
</p>
<p>
Specify your File:<br>
<input type="file" name="datasize" size="30">
</p>
<div>
<input type="submit" value="Send">
</div>
</form>
</body>
</html>
Asked by Mahadev Kumar Sahu | Jun 1, 2012 |  Reply now
Replies (1)
View rahul k yadav 's Profile
<html>
<body>

<form action="upload_file.php" method="post"
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>
Jun 1, 2012