Any Why of putting it as ur sig on here or does it not support PHP and can u make a script that says if the user is online or offline

Any Why of putting it as ur sig on here or does it not support PHP and can u make a script that says if the user is online or offline
1. There is a way, you need to save this to a php file
and upload it, change the NAME HERE bit to your habbo name. Then treat it like an image.PHP Code:<?php
header("Content-type: image/gif");
$habbo = "NAME HERE";
$domain = 'http://www.habbo.co.uk';
$content = file_get_contents($domain . '/home/'.$habbo);
$div_start = explode('<div class="profile-figure">', $content, 2);
$div_end = explode('</div>', $div_start[1], 2);
$img = trim($div_end[0]);
$img = preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/', '$2', $img);
$imag = $domain.$img;
$im = imagecreatefromgif($imag);
imagegif($im);
imagedestroy($im);
?>
2. Check my post in the Coding section.
Last edited by -1.; 17-11-2006 at 10:39 PM.
Left. Or have I?
I've put several other scripts to find the Habbo Birthdate and Mission. I'm not going to say how they're done, but if you take a look at how I did the Habbo Imagaging one it's rather obvious.
Take a look, go to www.bobblefm.co.uk and have a look at someones profile.
SexyI've put several other scripts to find the Habbo Birthdate and Mission. I'm not going to say how they're done, but if you take a look at how I did the Habbo Imagaging one it's rather obvious.
Take a look, go to www.bobblefm.co.uk and have a look at someones profile.
I think this will come in handy, in a way it's the next generation of staff pages! :p
That went fast.
Which imager are you using Stitch?
Left. Or have I?
I'm using this code:
and named it habbo.phpPHP Code:<?php
$habbo = $_GET['name'];
$home = file_get_contents("http://www.habbohotel.co.uk/home/".$habbo);
if (eregi("http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online_anim.gif", $home)){
$img = "http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online.gif";
}else{
$img = "http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_offline.gif";
}
header("Content-type: image/gif");
$im = imagecreatefromgif($img);
imagegif($im);
imagedestroy($im);
?>
Are you going to use it for a signature or something else?
Last edited by -1.; 18-11-2006 at 08:08 PM.
Left. Or have I?
1. Are you using a PHP Enabled Host
2. Are you putting: habbo.php?name=RFC-Dude
or whatever?
Last edited by -1.; 18-11-2006 at 08:35 PM.
Left. Or have I?
Want to hide these adverts? Register an account for free!