[PHP] Habbo auto web-build script [/PHP]
Yo People of RaGEZONE.
Here is a little PHP script that will update you're web-build.
To use it paste it in the head ore in global and then use <?php echo $build;?> to get the web-build. pritty easy.
PHP Code:
<?php $habbo = file_get_contents("http://www.habbo.com/"); preg_match("/<link[^>]*rel=\"shortcut icon\"(.*?)\\/>/si", $habbo, $match); $kiwi = explode('/', $match[1]); $build = $kiwi['4'] . "/" . $kiwi['5']; ?>
I did not create it, a friend gave it to me.
demo in a sec.
Finley
Re: [PHP] Habbo auto web-build script [/PHP]
Thanks Finley! I will use this. :lol:
Re: [PHP] Habbo auto web-build script [/PHP]
Hope you guys know that there's no need for this.
You can just use habbo.com local files.
Replace: http://images.habbo.com/habboweb/{w/e token1}/{w/e token2}/web-gallery/
with: http://www.habbo.com/
and walla there you have it, pre-hosted, always up-to-date*, always online.
*The visitors browser will most likely cache these files causing them to not update in realtime as Habbo' does.
Re: [PHP] Habbo auto web-build script [/PHP]
Using the webbuild is stupid because then you cant customize the CMS. Most you can do is the logo.
Re: [PHP] Habbo auto web-build script [/PHP]