Register for your free account! | Forgot your password?

You last visited: Today at 22:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]Server Status Code

Discussion on [Release]Server Status Code within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 419
Received Thanks: 49
[Release]Server Status Code

All you need is just this sample code:

Code:
<?
$ip = “YOUR IP”;
$port = “PORT NUMBER”;

if ($check=@fsockopen($ip,$port,$ERROR_NO,$ERROR_STR,(float)0.5))
{
fclose($check);
echo “MY OWN SERVER<br>”;
echo “<img border=’0' src=’images/online.jpg’ alt=’ONLINE’>”;
}
else
{
echo “MY OWN SERVER<br>”;
echo “<img border=’0' src=’images/offline.jpg’ alt=’OFFLINE’>”;
}
?>



I hope you like it.
araXis is offline  
Thanks
1 User
Old 09/10/2009, 21:32   #2
 
Luiz01's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 110
Received Thanks: 32
Nice release.
Luiz01 is offline  
Old 09/10/2009, 22:23   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 419
Received Thanks: 49
Thanks alots.
araXis is offline  
Old 09/10/2009, 22:47   #4
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
PHP Code:
<img border=’0' src=’images/offline.jpg’ 
that code is geting an image from the folder images and the image offline ;O u ddint post it here. jst saying ftw
-Shunsui- is offline  
Old 09/10/2009, 23:33   #5
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Good stuff bro.
kinshi88 is offline  
Thanks
1 User
Old 09/10/2009, 23:36   #6
 
elite*gold: 0
Join Date: Mar 2008
Posts: 419
Received Thanks: 49
Quote:
Originally Posted by flako27 View Post
PHP Code:
<img border=’0' src=’images/offline.jpg’ 
that code is geting an image from the folder images and the image offline ;O u ddint post it here. jst saying ftw
Lmao,You can got yourself offline and online logo.
araXis is offline  
Old 09/11/2009, 01:26   #7
 
Zion~'s Avatar
 
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 651
Nice
Zion~ is offline  
Old 09/11/2009, 01:38   #8
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
i know iam just saying.. #Araxis
Nice Release tho keep it up .

And anyways well here are some simple ones if any one wanna use them xD
Well idk why it ddint let me do Offline one so here it is


Just simply right click the image and Save image as
Attached Images
File Type: jpg online.jpg (1.2 KB, 235 views)
-Shunsui- is offline  
Old 09/11/2009, 01:47   #9
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
nice stuff buddy boy!
.Guru is offline  
Thanks
1 User
Old 09/11/2009, 02:11   #10
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
[GUIDE]

make new file called status.php and past all araxis released... and then in your pages (Main Site) put this code anywhere
Quote:
<?php
require_once ('status.php');
?>
So that people can see it on the main page
danielachraf is offline  
Thanks
2 Users
Old 09/11/2009, 03:11   #11
 
elite*gold: 0
Join Date: Mar 2008
Posts: 419
Received Thanks: 49
Quote:
Originally Posted by danielachraf View Post
make new file called status.php and past all araxis released... and then in your pages (Main Site) put this code anywhere


So that people can see it on the main page
+1
araXis is offline  
Old 06/25/2010, 10:16   #12
 
sohaib's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 258
Received Thanks: 102
guys, i made this code in "Status.php" in C:/Apserv/www, but how can i access to this page from my firefox brower? and what i put in my website?
sohaib is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] If you wanna call it a release. Server status form in php!
06/25/2010 - CO2 PServer Guides & Releases - 10 Replies
Ok, got bored so made this.. serverstatus.php : <html> <head> <title>Server Status!</title> </head>
[HELP]Server Status Total acc/char players online code
02/13/2010 - CO2 Private Server - 7 Replies
HELP I need a Server Status, Total account, Total Character and Total Players Online code for 5165 using appserver NON-HAMACHI HELP!
[RELEASE] Aion Server Status
10/19/2009 - Aion Hacks, Bots, Cheats & Exploits - 2 Replies
Hello, Its not a hack but can be a little handy for you. EN: Aion has scheduled and non-scheduled maintenances like any MMORPG.Because ofthat players can not always know servers are online or not.Launching Client, typing login credentials and waiting a respond from the loginserver... A little annoying and time consuming isn't it? Well,there are web services around that can show you server status but theyare not as handy as a small software on your pc and also they haveconnection...
Is there a server status code ?
09/27/2009 - General Coding - 1 Replies
Hi, i like to go on my friends runescape private servers, when i say private i actually mean private, it's not public just close friends and some other people that go on them and i would really like to put a code on my website that tells me when there servers are online and offline etc Basically something like this: RuneLocus Status Page but just for my friends private servers, does anyone know how to do it ? Thank you for reading.
looking for HTML code for server status
10/26/2008 - EO PServer Hosting - 1 Replies
Someone have HTML code to show Server status on website... php one not working.



All times are GMT +1. The time now is 22:46.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.