PHP stock quote script

Hello everyone,

I wanted to write a rather ambitious first php ‘program’. The general idea is to have a script that fetches stock values from a website like yahoo finance, displays them on a page and stores them in a database. Based on the data in the database I would like to draw graphs and this would give me a good idea about how my stocks are doing.

Now, I’m an intermediate PHP developer and I have a problem. In orr for this to work I need to get the stock values from another website. How can I access this information? Has anyone got any ideas?

The Curl library is used to fetch data from other sites :slight_smile:

You can use Yahoo Finance YQL for getting quotes.