Initial commit.
This commit is contained in:
parent
a9c913c9a7
commit
317e1b4e10
13 changed files with 260 additions and 0 deletions
14
uname/uname.php
Normal file
14
uname/uname.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
permalink: /cgi/uname/
|
||||
---
|
||||
|
||||
<?php
|
||||
$uname = shell_exec('uname -mrs');
|
||||
|
||||
$pos = strpos($uname, '-', 0);
|
||||
|
||||
$res = substr($uname, 0, $pos);
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
echo($res);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue