Updated to avoid exec.
Merge pull request #224 from StefanoBalocco/master

Updated uptime.php and hostname.php to avoid exec.