form表单 上传文件 enctype="multipart/form-data"

默认情况,表单 enctype="application/x-www-form-urlencoded",不能用于文件上传;
只有使用了enctype="multipart/form-data",才能完整的传递文件数据,进行文件上传操作。

猜你喜欢

转载自blog.csdn.net/qq_35641923/article/details/79154754