";
}
# Process all services1 montiored.
@@ -76,7 +76,7 @@ foreach( $configs['services2'] as $serviceName => $servicePort )
foreach( $configs['services3'] as $serviceName => $servicePort )
{
# Determine Port Status.
- $status = @fsockopen($configs['server_ip3'], $servicePort, $errno, $errstr, 5);
+ $status = @fsockopen($configs['server_ip3'], 443, $errno, $errstr, 5);
# What is the result.
if( !$status )
@@ -112,6 +112,47 @@ foreach( $configs['services4'] as $serviceName => $servicePort )
$serverStatus .= "
{$serviceName}
{$statusText}
";
}
+# Process all services1 montiored.
+foreach( $configs['services5'] as $serviceName => $servicePort )
+{
+ # Determine Port Status.
+ $status = @fsockopen($configs['server_ip5'], $servicePort, $errno, $errstr, 5);
+
+ # What is the result.
+ if( !$status )
+ {
+ $statusText = "Down";
+ }
+ else
+ {
+ $statusText = "Up";
+ }
+
+ # Set the status Row.
+ $serverStatus .= "
{$serviceName}
{$statusText}
";
+}
+
+# Process all services1 montiored.
+foreach( $configs['services6'] as $serviceName => $servicePort )
+{
+ # Determine Port Status.
+ $status = @fsockopen($configs['server_ip6'], $servicePort, $errno, $errstr, 5);
+
+ # What is the result.
+ if( !$status )
+ {
+ $statusText = "Down";
+ }
+ else
+ {
+ $statusText = "Up";
+ }
+
+ # Set the status Row.
+ $serverStatus .= "
{$serviceName}
{$statusText}
";
+}
+
+
# Finish service status table.
$serverStatus .= "
";
# File Complete.
diff --git a/ss_configs_kworld.php b/ss_configs_kworld.php
index 265f6e8..7fa795e 100644
--- a/ss_configs_kworld.php
+++ b/ss_configs_kworld.php
@@ -16,6 +16,8 @@ $configs['services1'] = array();
$configs['services2'] = array();
$configs['services3'] = array();
$configs['services4'] = array();
+$configs['services5'] = array();
+$configs['services6'] = array();
/********
DO NOT EDIT THESE CONFIG LINES.
@@ -28,12 +30,16 @@ $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.
+$configs['server_ip5'] = $server4url; // The Servers URL or IP to check.
+$configs['server_ip6'] = $server4url; // The Servers URL or IP to check.
# For services1 simply add new lines with the Name and port number.
- $configs['services1']["$server1name"] = 80;
- $configs['services2']["$server2name"] = 80;
- $configs['services3']["$server3name"] = 80;
- $configs['services4']["$server4name"] = 80;
+ $configs['services1']["KKnowledge"] = 80;
+ $configs['services2']["KNews"] = 80;
+ $configs['services3']["KLoud"] = 80;
+ $configs['services4']["Konvos"] = 80;
+ $configs['services5']["KSpot"] = 80;
+ $configs['services6']["Klips"] = 80;
?>
\ No newline at end of file
diff --git a/updatenotify2.php b/updatenotify2.php
index 307f02b..0ddf4ff 100644
--- a/updatenotify2.php
+++ b/updatenotify2.php
@@ -1,3 +1,3 @@
New Update Available";
+ echo "
New Update ($remoteversion) Available
";
?>
\ No newline at end of file
diff --git a/version.txt b/version.txt
index 9266364..e05f223 100644
--- a/version.txt
+++ b/version.txt
@@ -1,4 +1,4 @@
\ No newline at end of file