Has anyone got a working Habbo Imager script?
The ones I've tried out don't work anymore.

Has anyone got a working Habbo Imager script?
The ones I've tried out don't work anymore.
I know Invent! is selling a script like that.
my sig ran away,
habboring.com
!
Coded just for youPHP Code:<?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);
?>lol
You'll need PHP5 to use it x
Last edited by Invent; 05-11-2007 at 07:09 PM.
OR
PHP Code:<?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);
?>
Cheers!
+REP
Want to hide these adverts? Register an account for free!