Its syntax is: void passthru (string command [, int return_variable]) If return_variable is provided, it will be assigned the command return status. use passthru() to view the uptime of the server <? passthru("uptime"); ?>