[Release]Server Status Code

09/10/2009 21:15 araXis#1
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’>”;
}
?>
[Only registered and activated users can see links. Click Here To Register...]


I hope you like it.
09/10/2009 21:32 Luiz01#2
Nice release.
09/10/2009 22:23 araXis#3
Thanks alots.
09/10/2009 22:47 -Shunsui-#4
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
09/10/2009 23:33 kinshi88#5
Good stuff bro.
09/10/2009 23:36 araXis#6
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.
09/11/2009 01:26 Zion~#7
Nice ;)
09/11/2009 01:38 -Shunsui-#8
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
[Only registered and activated users can see links. Click Here To Register...]

Just simply right click the image and Save image as
09/11/2009 01:47 .Guru#9
nice stuff buddy boy!
09/11/2009 02:11 danielachraf#10
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
09/11/2009 03:11 araXis#11
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
06/25/2010 10:16 sohaib#12
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?