Home > Backend Development > PHP Tutorial > ecshop中手机端获取不到文章上传的图片

ecshop中手机端获取不到文章上传的图片

WBOY
Release: 2016-06-23 13:22:51
Original
1512 people have browsed it

伙伴们好!我最近在学习ecshop开发,现在遇到这样的情况,我需要在mobile端获取文章的上传的图片,字段为file_url, 我是这样获取的,但是在显示的时候,出现这样的情况 ,清楚是路径不对,但是不知道该怎么写了,上传的图片的在根目录下的data,而获取的时候在mobile端,请问该怎么解决,我都抓狂了,在此谢过!


回复讨论(解决方案)

路径更改成为完整路径即可

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template