42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
<?php
|
|
include 'config.php';
|
|
/*
|
|
* Script: Server Status
|
|
* Author: Martin Dixon
|
|
* From: Tutorial-Resource.com
|
|
* URL: www.tutorial-resource.com
|
|
* Version: 1.0
|
|
* License: Free
|
|
*/
|
|
/********
|
|
DO NOT EDIT THESE CONFIG LINES.
|
|
*/
|
|
$configs = array();
|
|
$configs['services1'] = array();
|
|
$configs['services2'] = array();
|
|
$configs['services3'] = array();
|
|
$configs['services4'] = array();
|
|
|
|
/********
|
|
DO NOT EDIT THESE CONFIG LINES.
|
|
********/
|
|
|
|
|
|
|
|
# You may edit these configs.
|
|
$configs['server_ip'] = $server1url; // The Servers URL or IP to check.
|
|
$configs['server_ip2'] = $server2url; // The Servers URL or IP to check.
|
|
$configs['server_ip3'] = $server3url; // The Servers URL or IP to check.
|
|
$configs['server_ip4'] = $server4url; // The Servers URL or IP to check.
|
|
|
|
|
|
|
|
# For services1 simply add new lines with the Name and port number.
|
|
$configs['services1']['<a href="http://home.k-world.me.uk" target="_blank">Karl Server</a>'] = 80;
|
|
$configs['services2']['<a href=\"$myurl:$cpadults\" target=\"_blank\">Adults</a>'] = 80;
|
|
$configs['services3']['<a href="http://www.gowing.ga" target="_blank">Darren Server</a>'] = 80;
|
|
$configs['services4']['<a href="http://smiffster.tk" target="_blank">Kris Server</a>'] = 80;
|
|
|
|
|
|
|
|
?>
|