Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Tokens
    0

    Exclamation help habbo figure [PHP]

    I have a problem the php code works not on my website
    i wil the image by the profile hi give him not
    the image info is http://www.habbobeat.nl/habbo-imagin...b208981645.gif



    }
    function getHabboFigure($Home) {
    if(!$Home) {
    return false;
    } else {
    $figureStart = explode('<div class="profile-figure">', $Home);
    $figureEnd = explode('</div>', $figureStart[1]);
    $figureTrim = trim($figureEnd[0]);
    $figure = preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/', '$2', $figureTrim);
    $hotelStart = explode('<div id="habbologo"><a href="', $Home);
    $hotelEnd = explode('/"></a></div>', $hotelStart[1]);
    $hotel = trim($hotelEnd[0]);
    $figure = $hotel . $figure;
    return $figure;
    }

    thnx for help its from dutch


    Moved by Meti (Forum Moderator) from "Designing and Development": Please post in the correct forum next time, thanks
    Last edited by Meti; 25-11-2008 at 04:20 PM.

  2. #2
    Join Date
    Oct 2008
    Posts
    162
    Tokens
    0

    Default

    i think you should redownload that free habbo imaging script.

Posting Permissions

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