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 9 of 9
  1. #1
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default Statistics, How Do i Put Them On My Site?!

    Like radiohabbo.com

    I would liek statistics like that.

    Mentor, anyone else know the php code?

    Thanks

    Matt
    I owe rep to:

    NintendoNews & Luckyrare

  2. #2
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    IP adress is just:
    PHP Code:
    <?php echo $_SERVER['REMOTE_ADDR']; ?>


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  3. #3
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Thankyou.

    Needed:

    Time/Date
    Views Today
    Overall Views
    Browser

    Please help if you can.

    Thanks splintercell! rep added. I give rep to for each code given.

    Thanks

    Matt.
    I owe rep to:

    NintendoNews & Luckyrare

  4. #4
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Time and date is
    PHP Code:
    <?php $date date("d-m-Y"); echo $date?>


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  5. #5
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    More rep added. Thankyou.
    I owe rep to:

    NintendoNews & Luckyrare

  6. #6
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    I just remebered the browser one I think...
    try..
    PHP Code:
    <?php echo $_SERVER['HTTP_USER_AGENT']; ?>


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  7. #7
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Okay now i have 3 code how would i set them out in a .php file?!
    I owe rep to:

    NintendoNews & Luckyrare

  8. #8
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    well make your index page a php page and place the codes I gave you where you want them or.. just add this to a file called stats.php or something and then include it in your index.
    PHP Code:
    <?php 
    echo "IP:";
    echo 
    $_SERVER['REMOTE_ADDR'];
    echo 
    "<br>";
    echo 
    "Date:";
    echo 
    date("d-m-Y");
    echo 
    "<br>";
    echo 
    "Browser:";
    echo 
    $_SERVER['HTTP_USER_AGENT'];
    ?>


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  9. #9
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    O, thanks thats great! Ill give u some more rep tomorrow.
    I owe rep to:

    NintendoNews & Luckyrare

Posting Permissions

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