View Full Version : Working Habbo Imager Script
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.
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);
?>
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.