Hi Guys,
I want to ask you if you have a file or code to add in a page for Server's Status. Login and Game Server. If someone knows how to do this please post here.
Thank you in advance.
Printable View
Hi Guys,
I want to ask you if you have a file or code to add in a page for Server's Status. Login and Game Server. If someone knows how to do this please post here.
Thank you in advance.
I dont think anyone want to help you, because you are from the oneo team, the pack who are not open source (Illegal)...
Btw, i think the oneo team know coding... O.o
Sure it does man
lol. arkert why you keep saying the same things. go to oneo forum and see.
Free Online Server Status Script, easy to use php, checks multiple servers at once.
Its really easy to modify , I am using this for every server status script I need
well here is mine little bit modfied status cheker, and its easy editable
Quote:
<?php
$ip = '84.240.52.137';
$gs = '7777';
$ls = '12345';
echo "<p>Server status: </p>";
if
($fp=@fsockopen($ip,$gs,$ERROR_NO,$ERROR_STR,(float)0.5))
{ fclose($fp); echo "<p>Game server is <b>Online</b>"; }
else
{echo "<p>Game server is <b>Offline</b>"; }
if
($fp=@fsockopen($ip,$ls,$ERROR_NO,$ERROR_STR,(float)0.5))
{ fclose($fp); echo "<p>Login server is <b>Online</b>"; }
else
{ echo "<p>Login server is <b>Offline</b>"; }
?>
Here you are, I made one using the url i gave you on my first post.
You can easily modify it
Just change the "xx.xx.xx.xx" as your ip inside status.html
thank you guys. because i have a page like php nuke i wouldl ike to know where i must upload the files. if i put non-ip will it work?
Well, extract it , and open status.html using notepad
After that change the xx.xx.xx.xx with your ip.
After that open your browser at http:// 127.0.0.1/server status/status.html
And it will work perfectly
well my file is like this but when i run the status html it doesn't work. can you test it please?
<?php
//Web Server Status v 1.4, Copyright 2002 By Ryan Schwiebert, visit Homepage of SchWeb Designs.com providing webpage design, custom websites, and computer training
//This script may be freely distributed providing all copyright headers are kept intact.
//Concept from:
//Abax Server Status v1.04, Copyright 2002 By Nathan Dickman, visit Nathan Dickman - free php and perl scripts and fractal art
//Location of the live or dead server images
//Please change to your server specifications
$live = "http://127.0.0.1/status/live.gif";
$dead = "http://127.0.0.1/status/dead.gif";
//The status checking script
//meddle at your own risk!
//check for port number, default is 80
$link = $_GET['link'].":";
$s_link = str_replace("::", ":", $link);
list($addr,$port)= explode (':',"$s_link");
if (empty($port)){
$port = 80;
}
//Test the server connection
$churl = @fsockopen(server($addr), $port, $errno, $errstr, 20);
if (!$churl){
//echo $errstr;
header("Location: $dead");
}
else {
header("Location: $live");
}
function server($addr){
if(strstr($addr,"/")){$addr = substr($addr, 0, strpos($addr, "/"));}
return $addr;
}
?>