Fix php script not working after server upgrade

Avg Bid (EUR)
Project Budget (EUR)
€8 - €30

Project Description:
I have a script that calculate byorithm and show a graph with result. It not work anymore, I presume after a server upgrade. I have php5.
I attach the script and the demo linking page, so you could see the error.
I think it's quite easy to fix (but at the moment I have no time) and a good chance to get high score.

Skills required:
Additional Files: getbiochart.php.txt
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

€ 30
in 0 days
Hire rajeshsonisl
€ 32
in 1 days
€ 27
in 2 days
€ 52
in 1 days
€ 24
in 3 days
Hire fuzzoid
€ 23
in 3 days
€ 25
in 0 days
€ 29
in 1 days
€ 28
in 1 days
€ 23
in 1 days