Home >php教程 >php手册 >file get contents 访问不了域名原因

file get contents 访问不了域名原因

WBOY
WBOYOriginal
2016-06-13 09:38:03946browse

 file get contents('域名');

 

居然不好用 后来发现 etc/hosts  

127.0.0.1  www.baidu.com  这样的

#127.0.0.1  www.baidu.com

就好用了

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