Removed obsolete PHP scripts.
This commit is contained in:
parent
1d7173dbcc
commit
71d50ba6d0
3 changed files with 0 additions and 44 deletions
|
|
@ -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));
|
|
||||||
?>
|
|
||||||
|
|
@ -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);
|
|
||||||
?>
|
|
||||||
|
|
@ -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);
|
|
||||||
?>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue