0
我解析网页的源代码是这样的:获取页面的源代码,并指派其内容
private function readPage() {
header("Content-type: text/plain");
$this->pageSource = @readfile ($this->page);
}
但它好像我不能指定内容到“pageSource “变量。我的错误在哪里?
非常感谢您的帮助。
这就是我正在寻找的!谢谢。 – oopbase 2010-08-17 09:23:26