Home >Backend Development >PHP Tutorial >Reason why file get contents cannot access the domain name_PHP tutorial

Reason why file get contents cannot access the domain name_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:32:551015browse

file get contents('domain name');

It was not easy to use. Later I found etc/hosts

127.0.0.1 www.baidu.com like this

#127.0.0.1 www.baidu.com

It’s easy to use

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/753003.htmlTechArticlefile get contents('domain name'); It didn't work. Later I found etc/hosts 127.0.0.1 www.baidu .com like #127.0.0.1 www.baidu.com is easy to use...
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