摘要: form用于提交文件需要修改其entype属性。enctype属性:规定在发送表单数据之前如何对其进行编码。默认情况,enctype的编码格式是application/x-www-form-urlencoded,不能用于文件上传;需要文件上传时需要将编码方式修改为:multipart/form-da... 阅读全文
posted @ 2015-06-24 22:01 蓝月夜 阅读(925) 评论(0) 推荐(0) 编辑