Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

a website server status

Junior Spellweaver
Joined
Nov 8, 2008
Messages
171
Reaction score
0
hi

any 1 got a post to make a server status for my website??


cause they always tell me:is your server on??

so if i got a server status that automaticly works then it would be awsome!!:D
 
Experienced Elementalist
Joined
Jul 27, 2008
Messages
222
Reaction score
9
Here you go :)

PHP:
<?php $srvip = "YourIP";
$srvport = "5816";?>
<td align="left">Server: 
   
<?php 
$fp = @fsockopen($srvip, $srvport, $errno, $errstr, 1);
if (!$fp) {
    echo "<font style='color: #FF3300'><B>Offline</B></font></br>";
} else {
    echo "<font style='color: #009933'><B>Online</B></font></br>";
    fclose($fp);
} ?></td>
 
Junior Spellweaver
Joined
Nov 8, 2008
Messages
171
Reaction score
0
thx but

it doesnt matter what ip i fill in he never reconize it always say page not found

what i suppose to do?
 
Experienced Elementalist
Joined
Jul 27, 2008
Messages
222
Reaction score
9
Could you show me what are you tring to create ?
 
Back
Top