file get contents 访问不了域名原因

 file get contents('域名');

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

127.0.0.1  www.baidu.com  这样的

#127.0.0.1  www.baidu.com

就好用了

原文地址:https://www.cnblogs.com/yingjie13/p/3658805.html