我在php(simple_html_dom.php)中使用简单的html dom解析器来解析网页数据并显示它。它在localhost [wamp服务器](http://localhost/test/read.php)but,read.php:
<?php
include('simple_html_dom.php');
$html = file_get_html('http://www.google.co.in/index.html');
echo $html;
?>
我有网站从雅虎小企业域名(例如:www.mysite.com)
我像这样把这两个php文件放到我的域路径中,http://www.mysite.com/test/read.php和http://www.mysite.com/test/simple_html_dom.php
当我从我的域运行read.php时,它在读取这一行时停止了,包括('simple_html_dom.php');
谁来帮帮我
谢谢,Nandha
确保allow_url_fopen是启用的,file_get_html()使用file_get_contents()
时需要allow_url_fopen
与HTTP