}
//Genere le graphique à la volée avec GNUPLOT
- header( "Content-type: image/png");
+ pl_cached_dynamic_content_headers("image/png");
$delt = ($total - $init_nb)/10;
$delt = $delt ? $delt : 5;
EOF2;
}
- header('Content-type: image/png');
+ pl_cached_dynamic_content_headers("image/png");
passthru($gnuplot);
exit;
}