My site keeps a record of which users are downloading a file at anyone time. In a database is stored the file id, the number of downloaders, the number of uploaders and the number of completed downloads. This data is updated every 4 hours for each file.
I require a cron script (php only please) which will create graph(s) showing this information. Graphs should be in .png format and should be of the form:
1 x pie chart (showing current sitution)
1 x bar chart (showing todays avergae situation AND yesterdays avergae situation)
1 x line graph (showing daily average situation from the last 7 days)
If all 3 graphs can be created in the same .png thats perfect, if not 3 seperate .pngs for each sql record is fine.
The graphs need to be generated throughout the day, updating the average/current info as necessary.
To calculate the averages and to display a history you will need to store a record of the data for each file as it is received every 4 hours. If you can use .dat files for this that is great. Otherwise storage in sql tables will be fine.
More information can be requested if necessary. Timeline is negotiable but if someone offers a reasonable bid and a swift completion time they will be accepted immediatly.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).