ssskaya
04-01-2004, 08:34 PM
I am using an external .js file to publish major stock indices, but this, of course, require manual update every day.
How can I get these numbers (just index level and the change, like: Dow Jones: 10,321 Change: -320) via a php script and do not bother manually updating it every day?
I am told that cURL and cron job could be a solution, but I'm not sure how are they are used or whether they would be the best solution to the problem.
Thanks.
How can I get these numbers (just index level and the change, like: Dow Jones: 10,321 Change: -320) via a php script and do not bother manually updating it every day?
I am told that cURL and cron job could be a solution, but I'm not sure how are they are used or whether they would be the best solution to the problem.
Thanks.