PDA

View Full Version : help habbo figure [PHP]



tijger
25-11-2008, 11:05 AM
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-imaging/avatar/hd-180-8.ch-255-110.lg-285-110.sh-290-110.ha-1011-110.ea-1404-64.ca-1816-.wa-2003-.fa-1201-.he-1604-.hr-831-61,s-0.g-0.d-4.h-4.a-0,a55595647b65b0e3cbe241b208981645.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 ;)

enraged
02-12-2008, 12:36 AM
i think you should redownload that free habbo imaging script.

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