我有這個網址: http://www.tsetmc.com/Loader.aspx?ParTree=151311&i=65883838195688438如何從php中使用Java腳本加載的url獲取變量?
我想從本網站獲取所有數值數據。
e.g:3.797中號
在此頁面中的所有數據立即刷新。
我嘗試:
$url = 'http://www.tsetmc.com/Loader.aspx?ParTree=151311&i=65883838195688438';
$data = file_get_contents($url);
echo $html_encoded = htmlentities($data);
或:
$url = 'http://www.tsetmc.com/Loader.aspx?ParTree=151311&i=65883838195688438';
echo $data = file_get_contents($url);
,但我不能得到的數字數據。
這兩種方法都不包含數字數據。
你得到任何錯誤?你得到什麼輸出? –
@DileepKumar我沒有得到任何錯誤。我得到白頁。 –
保持錯誤報告並重試。 –