另一方面也说明了程序的容错性很差啊。。。
恩,言归正传吧。
碰到的是这个错误:
file_get_contents(http://***.php): failed to open stream: http request failed!
g一下,决定用curl
http://www.bkjia.com/phpjc/320507.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/320507.htmltecharticle?php $curdomain = $_server['http_host']; $strhtml = file_get_contents('http://www.jb51.net/domainparking.asp?gdomname='.$curdomain); echo $strhtml ? 早就在网上看到说file_get...