KLanding/ss_configs_servers.php

42 lines
1.2 KiB
PHP
Raw Normal View History

2015-07-02 19:33:06 +01:00
<?php
2015-07-03 09:22:01 +01:00
include 'config.php';
2015-07-02 19:33:06 +01:00
/*
* 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();
2015-07-03 09:22:01 +01:00
$configs['services1'] = array();
$configs['services2'] = array();
$configs['services3'] = array();
$configs['services4'] = array();
2015-07-02 19:33:06 +01:00
/********
DO NOT EDIT THESE CONFIG LINES.
********/
# You may edit these configs.
2015-07-03 09:22:01 +01:00
$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.
2015-07-02 19:33:06 +01:00
2015-07-03 09:22:01 +01:00
# For services1 simply add new lines with the Name and port number.
2015-07-03 11:26:09 +01:00
$configs['services1']["<a href='$http/$server1url' target=\'_blank\'>$server1name</a>"] = 80;
$configs['services2']["<a href='$http/$server2url' target=\'_blank\'>$server2name</a>"] = 80;
$configs['services3']["<a href='$http/$server3url' target=\'_blank\'>$server3name</a>"] = 80;
$configs['services4']["<a href='$http/$server4url' target=\'_blank\'>$server4name</a>"] = 80;
2015-07-02 19:33:06 +01:00
?>