PDA

View Full Version : Habbo Imager (Usable in Sigs)



-1.
18-11-2006, 05:25 PM
This is like every other Habbo Imager script, except this one works in Signatures.

If you do not want to use it in your signature you can use this code:



<?php
header("Content-type: image/gif");
$habbo = $_GET['name'];
$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);
?>


That is /figure.php?name=HabboNameHere

If you are wanting to use it in your signature you can use this:



<?php
header("Content-type: image/gif");
$habbo = "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);
?>


Just change line 3.

Obviously this needs to be uploaded or you can use my already uploaded one

http://www.tom.ijeax.com/habbo/figure/HABBONAMEHERE.php

Just change HABBONAMEHERE to your habbo name.

Example in my signature.

Belacme
18-11-2006, 05:52 PM
Nice :)

I have this made:

http://www.imager.ffwbmarion.com/profile/Belacme

Want to hide these adverts? Register an account for free!