Using file_get_contents on PHP CentOS to get the domain name on this computer will return FALSE for example, a CentOS server is bound with the domain name www.jitapu.me. Getting www.jitapu.me content in PHP will return false.
Like what
Other external domain name can be obtained normally. For example, the above $STR1 returns FALSE, $str 2 returns the normal content.
First firewall should be no problem, or how to access other domain names, the firewall is also access to the 127.0.0.1 port is not limited, MySQL these can be used normally.
I've met this many times. The solution is not to be baffled.
Reply content:
Using file_get_contents on PHP CentOS to get the domain name on this computer will return FALSE for example, a CentOS server is bound with the domain name www.jitapu.me. Getting www.jitapu.me content in PHP will return false.
Like what
Other external domain name can be obtained normally. For example, the above $STR1 returns FALSE, $str 2 returns the normal content.
First firewall should be no problem, or how to access other domain names, the firewall is also access to the 127.0.0.1 port is not limited, MySQL these can be used normally.
I've met this many times. The solution is not to be baffled.
Ping www.jitapu.me on CentOS and try it out.