test/upload.html
raw| 1 | <html> |
| 2 | <head> |
| 3 | <title>POST test</title> |
| 4 | </head> |
| 5 | <body> |
| 6 | |
| 7 | <form action='http://localhost/luasocket-cgi-bin/cat-stdin' enctype='multipart/form-data' method=POST> |
| 8 | <center> |
| 9 | <input type="file" name="attach"> |
| 10 | <p> |
| 11 | <input type=submit name=sendmail value="send"> |
| 12 | </center> |
| 13 | </form> |
| 14 | </body> |
| 15 | </html> |