2004-01-26, 10:13 AM
past of few days i was total bored. and play with my apache and php. i made uptime and kernel info on my site. it's personal. odyssey.ath.cx use PHP
Show Kernel only (E.G)
Code:
<?php
$kernel = exec("uname -r");
print "kernel: $kernel";
?>
the command in php - exec is execute from the command as you use the same commands on console such as, uptime, uname -a, ls -l etc..