Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
487 views
in Technique[技术] by (71.8m points)

thinkphp3.2.3 ajax上传图片失败

控制器代码

clipboard.png

html代码

clipboard.png

然后我上传图片就说我没有上传文件?这是为什么?大神帮帮忙

clipboard.png
一按提交就这样,说我没有上传文件
但是有的,大家帮帮忙


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

谢邀,看下$upload这个对象的上传失败的具体信息?

看下上传路径有没有写的权限?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...