Log in

View Full Version : How many Habbos online?



James!
10-04-2006, 03:09 PM
What is the code for this? In PHP please. :D

Php
10-04-2006, 03:13 PM
What do u mean habbos online

do u mean checked into the hotel e.g

700 habbos checked into the hotel

or 13 users online *for ur site*

sock
10-04-2006, 03:14 PM
My friend has done this script before, I don't know it though, Sorry.

Tomm
10-04-2006, 05:05 PM
OMG you broke our protest againced jackhb saying we wouldent post here. Please close thread.

MattUH
10-04-2006, 06:18 PM
OMG you broke our protest againced jackhb saying we wouldent post here. Please close thread.

So you post here :rolleyes:

lew!
10-04-2006, 08:55 PM
Its only a space.. Calm down... Do i need to sign a Petition Now?

James!
10-04-2006, 11:05 PM
OMG you broke our protest againced jackhb saying we wouldent post here. Please close thread.
I'm sure somebody else would find something to moan about if I put it in the web-design section! :)

Luckyrare
17-04-2006, 06:14 PM
www.habboid.co.uk/showthread.php?t=28


If you use it, then register.

Halting
21-04-2006, 10:08 PM
Very Easy.

Try this:


<?php
$page = file_get_contents('http://www.habbohotel.co.uk/habbo/en/');
eregi('Habbos In The Hotel: <span class=\"white\">(.*)</span></b></td>', $page, $result);
echo ("There are currently $result[1] Habbos on Habbo UK.");
?>

--ss--
23-04-2006, 11:21 AM
hmm i think theres a tut on Crews with a K ;)

Arisham
23-04-2006, 09:38 PM
Actually dude, it's now


<?php
$page = file_get_contents('http://www.habbohotel.co.uk/habbo/en/');
eregi('<div id="toolbar-habbocount">(.*) Habbos online</div>', $page, $result);
echo ("There are currently $result[1] Habbos on Habbo UK.");
?>

New hotel, new change!

nets
23-04-2006, 09:47 PM
You could've made one yourself, it's about 4 lines of code.

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