status_makegraph',$kommando1, $kommando2); if($action=="command")echo "$kommando\n"; else exec ($kommando, $henten); if (file_exists("$bilde")) { $im = @ImageCreateFromPNG ($bilde); } else { $im = @ImageCreateFromPNG ("stat_error.png"); } if($action!="command") { ImagePng ($im); ImageDestroy ($im); } ?>