Server Status shower
#11

Yeah just use:

 

$ServerIP = "PUT SERVER IP HERE";

$ServerPort = "4110";

$Sockres = @FSockOpen($ServerIP, $ServerPort, $errno, $errstr, 1);

if (!$Sockres) {

$Status = "Offline";

}

else {

@FClose($Sockres);

$Status = "Online";

}

#12

aSH' date=' post: 11309"']Yeah just use: 

$ServerIP = "PUT SERVER IP HERE";

$ServerPort = "4110";

$Sockres = @FSockOpen($ServerIP, $ServerPort, $errno, $errstr, 1);

if (!$Sockres) {

$Status = "Offline";

}

else {

@FClose($Sockres);

$Status = "Online";

}

 

 

hmm but this isn´t working.

#13
If you want you can try out my tool. It can be found 2.

#14

hmm but this isn´t working.
 

Works fine for me.

#15
Where can I save those php code?



Forum Jump:


Users browsing this thread: 1 Guest(s)