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