Online / Offline Detector JoinFS Map Updates
Posted: Sat Dec 08, 2018 8:12 am
Hey Guys & Gals,
If anyone would care to use this they may just input your IP Address below and copy this in your website html section i have added some style to it.This little widget will let your members know on your website whether your JoinFS Hub is up or down.You may also use the attached images if you like. This will only work if you are using the Joinfs map for your website or you have your whazzup.txt accessible to the world wide web.
If anyone would care to use this they may just input your IP Address below and copy this in your website html section i have added some style to it.This little widget will let your members know on your website whether your JoinFS Hub is up or down.You may also use the attached images if you like. This will only work if you are using the Joinfs map for your website or you have your whazzup.txt accessible to the world wide web.
Code: Select all
<?php
ini_set("default_socket_timeout","05");
set_time_limit(5);
$f=fopen("http://YOUR_IP_ADDRESS/whazzup.txt","r");
$r=fread($f,1000);
fclose($f);
if(strlen($r)>1) {
echo '<img src="http://weflyfsx-va.com/on.png" height="35px" align="right">';
}
else {
echo '<img src="http://weflyfsx-va.com/off.png" height="35px" align="right">';
}
?>