Hey guys. I'm planning to do this new script for my x10Portal.
It's a server status script, but this time I'm going to add the percentage of uptime that the service is up.
This is my code
The main code
<?php
function serverStatus($server, $port, $service, $serverName) {
$status =...