Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2005
    Location
    London
    Posts
    2,864
    Tokens
    828
    Habbo
    Sough.

    Latest Awards:

    Default "100" People Online

    Hi, On The Habbox Homepage It Says There Arre (Example) 176 Zombies Online - On My Website I Would Like One, Not The Same Just Saying There Are (example) 50 People Online, How Is It Done? Bearing In Mind This Is On Freewebs But I Might Go On Something Else
    moderator alert Edited by Nick (Forum Super Moderator): Please don't have images in your signature that exceed your usergroup.

  2. #2
    Join Date
    Sep 2004
    Location
    Ilfracombe, Devon.
    Posts
    166
    Tokens
    220

    Default

    There Are Many Sites Which Provide This Thing.
    www.dynamicdrive.com
    For Example.
    Just Search Around On Google.
    I'm Sure Youll Find What Your Looking For
    150th Post!
    Posts: 100 - 150 - 200 - 250 - 300
    Rep: 40 - 45 - 50 - 55 - 65
    I owe +rep to: Xzoid
    I owe -rep to: @xP
    You ask how I am? Well I'm just FINE:
    F**ked up
    Insecure
    Neurotic &
    Emotional

  3. #3
    Join Date
    Aug 2005
    Location
    London
    Posts
    2,864
    Tokens
    828
    Habbo
    Sough.

    Latest Awards:

    Default

    I Dont Know Where To Look. Anyone??
    moderator alert Edited by Nick (Forum Super Moderator): Please don't have images in your signature that exceed your usergroup.

  4. #4
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default

    its best to do it in PHP!

    PHP Code:
    <?
    $remote 
    $_SERVER["REMOTE_ADDR"];
    $file "usersonline.txt";
    $timeoutseconds 60//Tells how long the user is considered "on line"
    $timestamp time();
    $timeout = ($timestamp-$timeoutseconds);
    $fp fopen("$file""a+");
    $write $remote."||".$timestamp."\n";
    fwrite($fp$write);
    fclose($fp);
    $online_array = array();
    $file_array file($file);
    foreach(
    $file_array as $newdata){
    list(
    $ip$time) = explode("||"$newdata);
    if(
    $time >= $timeout){
    array_push($online_array$ip);
    }
    }
    $online_array array_unique($online_array);
    $online count($online_array);
    if(
    $online == "1"){
    echo 
    "Users Online: $online";
    }else{
    echo 
    "Users Online: $online";
    }
    ?>
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •