connect(SERVER_ADDR, SERVER_PORT, TIMEOUT); } catch(ServerQueryException $ex) { $exception = $ex; } // Display script runtime in milliseconds $timer = number_format((microtime(true) - $timer) * 1000, 0, '.', ''); // To display runtime in seconds instead, uncomment next line and comment line 19 //$timer = number_format((microtime(true) - $timer), 2, '.', ''); ?>
getMessage()); ?>
| Server Info (queried in ms) | |
|---|---|
| " . htmlspecialchars($infoKey) . ""; ?> | "; print_r($infoValue); echo ""; } else { echo htmlspecialchars($infoValue); } ?> |
| No data received. | |
| Players Online |
|---|
| There is no one online. |