1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/vweb/file_upload/index.html

16 lines
489 B
HTML

<h2>File Upload</h2>
File form:
<form method="POST" enctype="multipart/form-data" action="/upload">
<input type="hidden" name="file_id" value="aafueB5Quie" />
<input type="file" name="upfile" multiple/>
<input type="submit" value="Upload"/>
</form>
Text form:
<form method="POST" enctype="multipart/form-data" action="/submit">
<input type="text" name="content1" value="abc" />
<input type="text" name="content2" value="xyz" />
<input type="submit" value="Submit content">
</form>