![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
后端
文章平均质量分 50
bem_zj
不努力的人生就是条咸鱼
展开
-
如何通过表单上传图片数据,PHP后端获取并且保存文件数据
(1)html文件 //action请地址为环境中的php文件 选择图片 提交 (2)php文件 header("Content-Type:text/html;charset:utf8");//设置文件编码 $img = $_FILES['uploadImg'];//获取到表单过来的文件变量,uploadImg为表单id //检测变量是否获取到 if(isset($原创 2017-05-27 00:22:48 · 9564 阅读 · 1 评论 -
python 3.2 错误 ‘generator’ object has no attribute ‘next’
在Python 3.2中使用next()发生错误的解决方法 Traceback (most recent call last): File "C:\Users\BEM\Desktop\test.py", line 10, in <module> print(r.next()) AttributeError: 'generator' object has no attribute 'next'原创 2016-06-24 10:08:26 · 1818 阅读 · 0 评论