Initial commit.

This commit is contained in:
Johannes Findeisen 2024-02-07 09:27:22 +01:00
commit 317e1b4e10
13 changed files with 260 additions and 0 deletions

11
uptime/uptime.php Normal file
View file

@ -0,0 +1,11 @@
---
permalink: /cgi/uptime/
---
<?php
$uptime = shell_exec('uptime');
$version = shell_exec('uptime -V');
header('Content-Type: text/plain');
echo('Server ' . substr($version, 0, -1) . ': ' . $uptime);
?>