
one in Chapter 1, which would provide your security team a central place to
look for security information.
<?php
// INCLUDES FOR GRAPH
include ( "/path/to/base/jpgraph/src/jpgraph.php");
include ( "/path/to/base/jpgraph/src/jpgraph_pie.php");
include ( "/path/to/base/jpgraph/src/jpgraph_pie3d.php");
// DATA
// create blank arrays to use
$count = array();
$host = array();
// Should be called from a file for dynamic updates
$totalhttp = 3128;
// read from file
$f = fopen("/log/Top10_http.log","r");
while ($array = fgetcsv($f,25,";")); {
$newvalue = $totalhttp - $array[0];
$array_push($count, $array[0]);
$array_push($host, $array[1]);
}
fclose($f);
$data = $count;
$leg ...