I need a code that tells total users online on habbo i have seen this code before![]()

I need a code that tells total users online on habbo i have seen this code before![]()
Thanks you for the fast answear !
You are nice!
Or this dosent work..
look
http://habbohome.dk/online.php
Lol Anything else?
:S ?
When i change .co.uk
its shows this
http://habbohome.dk/online.php
That under users online..
How i remove?
Last edited by Bob3k; 09-09-2007 at 07:46 PM.
you would have to do that manually, eg.
if ($username = 'lost_witness' && $online = 'yes')
{
echo("lost witness online");
}
Etc.
EDIT: post the coding.
Code:<?php $page = file_get_contents('http://www.habbohotel.dk/'); // I have set the default as .co.uk. If you would like to display the amount of Habbos Online for other hotels then just change .co.uk to .com for example. eregi('<div id="toolbar-habbocount">(.*) Habbos online</div>', $page, $result); echo ("There are currently $result[1] Habbos on the UK Hotel!"); ?>
Last edited by Eccentric; 09-09-2007 at 07:48 PM.
Dosent work..
its just say
There are currently Habbos on the UK Hotel!
cant you find the error ?
if i use this code
<?php
$page = file_get_contents("http://www.habbo.co.uk");
$start = explode('<td id="topbar-count">', $page, 2);
$end = explode(' members online</td>', $start[1], 2);
$amount = trim($end[0]);
echo "There are $amount Habbos online!";
?>
its shows the site page information too also from habbo.dk
:S
Want to hide these adverts? Register an account for free!