Skip to content

Commit

Permalink
Upload multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Mar 24, 2015
1 parent ba5ae74 commit 4cbd113
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/file_upload/file_upload.c
Expand Up @@ -14,7 +14,8 @@ static int send_index_page(struct mg_connection *conn) {
"<html><body>Upload example."
"<form method=\"POST\" action=\"/handle_post_request\" "
" 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\" />"
"</form>");

Expand Down

0 comments on commit 4cbd113

Please sign in to comment.