very good job rep
|
|
kk i have a sight with hosting and ect (Hostgator) But i dont know how to fill the form out, anyone help?
very good job rep

[PHP]
<?php
Header('Content-type: image/png');
$image = ('status.png');
$world = $_REQUEST['w'];
$im = imagecreatefrompng($image);$green = imagecolorallocate($im, 0, 139, 0);
$black = imagecolorallocate($im, 0, 0, 0);
$red = imagecolorallocate($im, 255, 0, 0);
$width = imagesx($im);
$height = imagesy($im);
$font = 2;
$middle = (($width / 2) - 20);
$middle2 = (($heigth / 2) + 5);
switch ($world) {
case 2:
$ip = ('');
$port = ('43594');
if (! $sock = @fsockopen($ip, $port, $num, $error, 1)) {
$stat = ('Offline');
$world = ('World 1: ');
imagestring($im, $font, 10, $middle2, $world, $black);
imagestring($im, $font, 75, $middle2, $stat, $red);
}
else {
$stat = ('Online');
$world = ('World 1: ');
imagestring($im, $font, 10, $middle2, $world, $black);
imagestring($im, $font, 77, $middle2, $stat, $green);
fclose($sock);
}
break;
default:
$ip = ('rune-flame.no-ip.org');
$port = ('43594');
if (! $sock = @fsockopen($ip, $port, $num, $error, 1)) {
$stat = ('Offline');
$world = ('World 1: ');
imagestring($im, $font, 10, $middle2, $world, $black);
imagestring($im, $font, 75, $middle2, $stat, $red);
}
else {
$stat = ('Online');
$world = ('World 1: ');
imagestring($im, $font, 10, $middle2, $world, $black);
imagestring($im, $font, 77, $middle2, $stat, $green);
fclose($sock);
}
break;
}
imagepng($im);
imagedestroy($im);
?>
[/PHP]
Has anyoen got a link for this? So I can SQL inject it, thanks!
Gives me bunch of mysql database errors lolz
is this for one server or can ppl ad there server to this aswell ?
because iom looking for 1 that ppl cna add there server to
People can add their own to it lolz
| « Makeing a logon timer | Make every npc shout a message on command » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |