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
    Posts
    144
    Tokens
    0

    Default Help with php hits

    I need the php code or a tut on how to make a hit thing like how many users are
    online and stuff and how many hits today

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

    Latest Awards:

    Default

    a simple flat file one would be:
    PHP Code:
    <?php
    $viewss 
    file("counter.txt");
    $views $viewss[0]; $views++;
    $fp fopen("counter.txt""w");
    fwrite($fp$views);
    fclose($fp);
    print 
    $views;
    ?>
    nd then create a file called counter.txt and CHMOD it to 777


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

  3. #3
    Join Date
    Aug 2005
    Posts
    144
    Tokens
    0

    Default

    i want users online and stuff aswel

  4. #4
    Join Date
    Apr 2005
    Posts
    4,963
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by crana.c
    i want users online and stuff aswel
    All the stat things are on xenigma.net under php tutorials ;P

Posting Permissions

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