Home  >  Article  >  Backend Development  >  linux php fopen 怎么打不开远程文件?

linux php fopen 怎么打不开远程文件?

WBOY
WBOYOriginal
2016-06-20 12:41:351173browse

fopen("192.168.1.116:9090/1.jpg","r");
为什么访问不了!  我的是在linux下的     allow_url_fopen=On 也设置了 防火墙也关了 !
求大神解救!!!


回复讨论(解决方案)

fopen(" http://192.168.1.116:9090/1.jpg","r");加上他试试

fopen(" http://192.168.1.116:9090/1.jpg","r");加上他试试


哇擦。我这猪脑!!!谢谢大神!!!!
Statement:
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