
Originally Posted by
Exonize
Looks pretty but returns figures with white backgrounds.

Oh lol add
PHP Code:
imagesavealpha($im, true);
below $im = ...

Originally Posted by
Droppy
Well, instead of using server resources, why not just redirect to habbo page? If you can't, because most of your files are going through some local file, then in this local file instead of file_get_contents and redirects...
It's just an alternative for those whom doesn't want to use server resources... I don't know if it's the best approach though.
PHP Code:
<?php
function arrayToString($get)
{
$fields = "";
foreach($get as $key=>$value) {
$fields .= $key.'='.$value.'&';
}
return rtrim($fields, '&') . "&";
}
header("Location: http://www.habbo.com.br/habbo-imaging/avatarimage?" . arrayToString($_GET));
?>
It works? Yes, it does. Now, feel free to flame me all you want for this 1337 h4x approach.
Why creating a function like that if there's already a function called: http-build-query