mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-31 01:13:01 +08:00
Upload multiple files
This commit is contained in:
parent
ba5ae74144
commit
4cbd113d01
@ -14,7 +14,8 @@ static int send_index_page(struct mg_connection *conn) {
|
|||||||
"<html><body>Upload example."
|
"<html><body>Upload example."
|
||||||
"<form method=\"POST\" action=\"/handle_post_request\" "
|
"<form method=\"POST\" action=\"/handle_post_request\" "
|
||||||
" enctype=\"multipart/form-data\">"
|
" enctype=\"multipart/form-data\">"
|
||||||
"<input type=\"file\" name=\"file\" /> <br/>"
|
"<input type=\"file\" name=\"file1\" /> <br/>"
|
||||||
|
"<input type=\"file\" name=\"file2\" /> <br/>"
|
||||||
"<input type=\"submit\" value=\"Upload\" />"
|
"<input type=\"submit\" value=\"Upload\" />"
|
||||||
"</form>");
|
"</form>");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user