Home > Backend Development > PHP Tutorial > failed to open stream: HTTP request failed!_PHP教程

failed to open stream: HTTP request failed!_PHP教程

WBOY
Release: 2016-07-13 10:52:37
Original
907 people have browsed it

The file_get_contents function sometimes fails. failed to open stream: HTTP request failed!

The address is above, some addresses are OK, and some are failed to open stream: HTTP request failed!,
file_get_contents opens rar files, does it have anything to do with the file format? There is indeed nothing wrong with the html file,
rarSome addresses are wrong and some are normal. It is normal to open the wrong address with IE

The reason is that there is a network problem or the file does not exist.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632479.htmlTechArticleThe file_get_contents function sometimes fails to open stream: HTTP request failed! The address is above, some addresses are OK, and some are not. failed to open stream: HTTP request failed!, f...
Related labels:
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