2010-08-17 100 views
0

我解析網頁的源代碼是這樣的:獲取頁面的源代碼,並指派其內容

private function readPage() { 
     header("Content-type: text/plain"); 
     $this->pageSource = @readfile ($this->page);  
    } 

但它好像我不能指定內容到「pageSource 「變量。我的錯誤在哪裏?

非常感謝您的幫助。

回答

相關問題