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!

how to fix online server but in the web say off?

Newbie Spellweaver
Joined
Sep 20, 2013
Messages
16
Reaction score
0
ps: im using sql 2008
 
Last edited:
Newbie Spellweaver
Joined
Jan 18, 2012
Messages
75
Reaction score
0
<?php
$server = "127.0.0.1"; //your ip server
$loginport = "10101"; // login port or u can use another port example game zone

if ($fp=@fsockopen($server,$loginport,$ERROR_NO,$ERROR_STR,(float)0.5))
{
fclose($fp);
// do anything if online
}
else
{
// do anything if offline
}
?>
 
Back
Top