Removed obsolete PHP scripts.

This commit is contained in:
Johannes Findeisen 2024-03-15 07:24:38 +01:00
commit 71d50ba6d0
3 changed files with 0 additions and 44 deletions

View file

@ -1,19 +0,0 @@
---
permalink: /cgi/timestamp/obsolete.php
---
<?php
session_start();
session_set_cookie_params(3600);
date_default_timezone_set("{{ site.timezone }}");
$timestamp = date('Y.m.d-h:i:s', time());
$milliseconds = floor(microtime(true) * 1000);
#echo($timestamp . "_" . time() . "_" . $milliseconds);
header('Content-Type: text/plain; charset=utf-8');
echo($timestamp . '.' . microtime(true));
?>

View file

@ -1,14 +0,0 @@
---
permalink: /cgi/uname/obsolete.php
---
<?php
$uname = shell_exec('uname -mrs');
$pos = strpos($uname, '-', 0);
$res = substr($uname, 0, $pos);
header('Content-Type: text/plain; charset=utf-8');
echo($res);
?>

View file

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