if (isset($_GET['Action'])) {
$action = $_GET['Action'];
// Uptime stuff:
if ($action == 1) {
echo "server uptime is blabla";
//here comes your system(whatever);
}
if ($action == 2) {
echo "Restarting server";
//here comes your system(whatever);
}
if ($action == 3) {
echo "Fap Fap Fap";
//here comes your system(whatever);
}
}
?>