I want to get stock price from this site: http://en.tsetmc.com/. There is a page that tell us all price in this stocks: http://en.tsetmc.com/loader.aspx?ParTree=121C1111
I tried to get this page content by this code:
$address ="http://en.tsetmc.com/loader.aspx?ParTree=121C1111";
$page = file_get_contents($address);
but page send this error
General Error Detected
Please Try Later
It's the only idea that i have to get data and manipulate it later to get prices.
but I know that there is a better way to get this price.
I want to create an online portfolio manager for school project, and i really need to get stock prices. I know nothing about Javascript or python and use php to handle it, but if they give me a solution I'll be thankful for them and you.
Thank you for helping :)