=\ it works for me =\
Printable View
=\ it works for me =\
:S Wierd, not working for me + I put everything in the right section. Maybe fake.+ Juhnke stop spamming thread saying "eats cookie" PMSL.
Screens that is working please
It does not make sence!
1. Make a file called green.gif and change
'$live = "YOURONLINEIMAGE";' to '$live = "http://yourdomain.com/green.gif";'
Dose that mean change that and leave the rest of the code?
Quote:
<?php
//you can change these so they link to any image you want :)
$live = "YOURONLINEIMAGE";
$dead = "YOUROFFLINEIMAGE";
list($addr,$port)= explode (':',"$link");
if (empty($port)){
$port = 90;//can change port to whatever
}
$churl = @fsockopen(server($addr), $port, $errno, $errstr, 20);
if (!$churl){
header("Location: $dead");
}
else {
header("Location: $live");
}
function server($addr){
if(strstr($addr,"/")){$addr = substr($addr, 0, strpos($addr, "/"));}
return $addr;
}
?>
example:
goes onto a page called 'serverstatus.php' then on the page you want to display the server status haveCode:<?php
//you can change these so they link to any image you want :)
$live = "http://habblissinc.com/junkyhotel/green.gif";
$dead = "http://habblissinc.com/junkyhotel/red.gif";
list($addr,$port)= explode (':',"$link");
if (empty($port)){
$port = 90;//can change port to whatever
}
$churl = @fsockopen(server($addr), $port, $errno, $errstr, 20);
if (!$churl){
header("Location: $dead");
}
else {
header("Location: $live");
}
function server($addr){
if(strstr($addr,"/")){$addr = substr($addr, 0, strpos($addr, "/"));}
return $addr;
}
?>
@PixelPro123Code:<img src="http://www.habblissinc.com/junkyhotel/status.php?link=YOURIPHERE:YOURPORTHERE">
I like spamming so, stop me!! >:]
It don't work by me..
Its every time saying when I go to it..
status.php
Open / Save / Cancel
i did it al but always say offline and when i do with your link it works :S can you give you source because when i try to ask the status it redirect to the image. ty
thanks for release it works for me :D:D
lol... u doesn't make it -,-
I believe that guy of habbo cms made this..
Very nice! Only one problem, its only best for Ham hotels as the owner will have to keep changing his ip!!!!!!!!!!!!!!!!!
Nice. :]
Nice release, if you count ripping off a release.
I made a much better one a long time ago here: http://forum.ragezone.com/f385/image...es-rel-301414/
There is a JS version, and an image version, and its transparent, so you can fit it in any background
huh where to put the ip in the php code?
Nice :) I Will try