Install PHP 5.3 on Ubuntu 17.10

I know, I know, I know, I know! I need to update my code! If I haven’t said it already, I know! But… I don’t have time to updated hundreds upon hundreds of lines of code, so I’m taking the easy way out. I found the steps to do it here: The system I’m… read more »

JPGraph.PHP Functions

Graph Class require_once (‘jpgraph/jpgraph.php’); Required commands: $graph = new Graph($width, $height); $graph->SetScale(‘textlin’); //starts at 1 $graph->SetScale(‘intlin’); //starts at 0 //secondary Scale $graph->SetY2Scale(“lin”); Display: $graph->SetShadow(); $graph->Stroke(); Margins: $graph->img->SetMargin($left,$right,$top,$bottom); Title: $graph->title->Set($title); $graph->subtitle->Set($subtitle); Axis Colors $graph->xaxis->SetColor(“blue”); $graph->yaxis->SetColor(“green”); $graph->y2axis->SetColor(“orange”); Intervals (Default 1,2,3,4) $graph->xaxis->SetTextTickInterval(2); // 1,3,5,7 Margins: Leave 20px above max y limit $graph->yaxis->scale->SetGrace(20); Titles (Labels) $graph->xaxis->SetFont(FF_FONT,FS_BOLD [,$fontSize]); //make label… read more »