Two PHP scripts are needed for this project.
The first PHP script should scrape the most recent gas prices off of the following websites (<[url removed, login to view]> & <[url removed, login to view]> ) daily and store them. The date, state location, city location, regular price, medium price, premium price, and diesel price need to be stored in the database for each entry. These scripts will run daily on a cron job.
The second PHP script should be able to access the data stored by the first script, and based on parameters passed to the script return structured XML for the following queries:
1. the current price for a city or state
2. the price for a city or state on a given date
3. the price for every day in a given month per city or state
4. the average price per month for a every month in a year, per city or state
This project will work eventually work hand-in-hand with the one
1)Complete and fully-functional working PHP script (as described above) in executable form as well as complete source code of all work done. 2)Deliverables must be in ready-to-run condition, as follows: a) Script must be fully functioning and ready to use. b) Thoroughly commented in English. 3) All deliverables will be released as an OPEN SOURCE project. Seller will be credited with development of script.
Mozilla Firefox 2.0+ Internet Explorer 6.0+ Safari (latest release)