Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default Habbo Imager (Usable in Sigs)

    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 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 Code:
    <?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.
    Last edited by -1.; 18-11-2006 at 05:25 PM.
    Left. Or have I?

  2. #2
    Join Date
    Nov 2006
    Location
    North Carolina, UA
    Posts
    128
    Tokens
    0

    Default

    ---------------
    I also use the account: Dentafrice
    ---------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •