一个发送请求抓数据报的异常怎么解决

WBOY
Release: 2016-06-13 13:24:23
Original
1045 people have browsed it

一个发送请求抓数据报的错误如何解决
[function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 505 HTTP Version Not Supported in C:\xampp-win32-1.7.2\xampp\htdocs\ceshi\post.php on line 58



------解决方案--------------------

探讨

引用:

引用:

引用:

php.ini中设 allow_url_fopen=On

没找到这个文件,搜索都没搜出来

.......额 这是一个很神奇的文件 我们一般叫它配置文件

PHP code

phpinfo();


找到Loaded Configuration File这个就是php.ini……
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!