PDA

View Full Version : Working Habbo Imager Script



Zaub
05-11-2007, 06:53 AM
Has anyone got a working Habbo Imager script?

The ones I've tried out don't work anymore.

rh4u
05-11-2007, 09:30 AM
I know Invent! is selling a script like that.

RedCrisps
05-11-2007, 04:40 PM
habboring.com

!

Invent
05-11-2007, 07:07 PM
<?php

$habbo = $_GET["habbo"];
$habbo = stripslashes($habbo);

$url = file_get_contents("http://www.habbohotel.co.uk/home/".$habbo."");
$url = explode('<div class="profile-figure">', $url);
$url = $url[1];

$doc = new DOMDocument();
@$doc->loadHTML($url);

$xPath = new DOMXPath($doc);
$img = $xPath->evaluate("//img[@alt=\"".$habbo."\"]")->item(0);

$lol = parse_url($img->getAttribute('src'));

$img_src = "http://www.habbo.co.uk".$lol["path"];

$gd = imagecreatefromgif($img_src);

header("Content-type: image/gif");

imagegif($gd);
imagedestroy($gd);

?>
Coded just for you (: lol
You'll need PHP5 to use it x

Invent
05-11-2007, 07:24 PM
OR



<?php

$habbo = $_GET["habbo"];
$habbo = stripslashes($habbo);

$gd = imagecreatefromgif("http://www.habbo.co.uk/habbo-imaging/avatarimage?user=".$habbo."&direction=4&img_format=gif");

header("Content-type: image/gif");

imagegif($gd);
imagedestroy($gd);

?>

Zaub
06-11-2007, 02:01 AM
Cheers!

+REP

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