fix form file upload

This commit is contained in:
subnixr 2018-03-10 02:44:31 +01:00
parent 0c89e4ee8d
commit e016ca61ea

View File

@ -10,7 +10,7 @@
</head> </head>
<body> <body>
<form action="/image" method="post"> <form enctype="multipart/form-data" action="/image" method="post">
<textarea name="text" cols="30" rows="3"></textarea> <textarea name="text" cols="30" rows="3"></textarea>
<input name="image" type="file"> <input name="image" type="file">
<input type="submit" value="submit"> <input type="submit" value="submit">