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!


Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Site stats

  1. #11
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Do u wnat just a hit counter or stats? hit counter u may as well do u self as its so simple.

    if you wnat stats and counter best place is http://www.statcounter.com/

    Or if you want toi get reaLY GOOD stats, and the option of very persific counters i suggest http://www.tracewatch.com/ which is what gives me all thybags statistcs. Athogh by defiult it shows nothing on teh page, u can use the php api to show what ever stats u like

  2. #12
    Join Date
    Oct 2004
    Location
    In My Computer
    Posts
    946
    Tokens
    372

    Default

    Alrighty, I got a counter, But don't like it Very much

    I'm really looking for one like this


    Page veiws: 10
    Page Veiws Per day on average: 1
    Webpage load time: 1.405 @56k
    Kind of like that, Not just a boring one with just one counter

    Thanks
    Haven't updated this in around a year, so now i have

  3. #13
    Join Date
    Oct 2004
    Location
    In My Computer
    Posts
    946
    Tokens
    372

    Default

    Oh cool thanks Mentor and everyone else


    OPPS DOUBLE POST DARN Delete
    Haven't updated this in around a year, so now i have

  4. #14
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    wewt i did the stats thing u know the .php 1 yay
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  5. #15
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by smurf-you
    Alrighty, I got a counter, But don't like it Very much

    I'm really looking for one like this


    Page veiws: 10
    Page Veiws Per day on average: 1
    Webpage load time: 1.405 @56k
    Kind of like that, Not just a boring one with just one counter

    Thanks
    the tracewatch thing i think can give u an average, athogh just for that its a little pointless.


    for a page genirtaion time.

    at the very top of the page, aboev abosulty everything.
    ad (u need php page)
    PHP Code:
    <?php
    class Debug {
        function 
    startTimer() {
            global 
    $starttime;
            
    $mtime microtime ();
            
    $mtime explode (' '$mtime);
            
    $mtime $mtime[1] + $mtime[0];
            
    $starttime $mtime;
        }
        function 
    endTimer() {
            global 
    $starttime;
            
    $mtime microtime ();
            
    $mtime explode (' '$mtime);
            
    $mtime $mtime[1] + $mtime[0];
            
    $endtime $mtime;
            
    $totaltime round (($endtime $starttime), 5);
            return 
    $totaltime;
        }
    }

    $Debug = new Debug;
    $Debug->startTimer();
    ?>
    Then where u wnat the counter to show,
    ad
    PHP Code:
    <?php
    $load   
    sprintf"%.4f",$Debug->endTimer() );
    echo 
    $load ;
    ?>
    Keep in mind, it wont be compleaty acurte as it put gets how long the page has taken to genirate that persic bit, so the nearer tpo the end it is the more acuret it will be.

    page views u would just use

    PHP Code:
    <?php
       $fp 
    fopen "hits.txt" "r" );
       
    $count fread $fp filesize"hits.txt" ));
       
    fclose $fp );
       
    $count ++;
       
    $fp fopen "hits.txt" "w" );
       
    fwrite $fp $count );
       
    fclose $fp );
      echo 
    $count ;
    ?>
    juts put that where u wnat to have hist diplayed. aslo in teh same directry creat a .txt document called hits so hits.txt and chmod it to 777.
    Last edited by Mentor; 02-05-2005 at 02:30 PM.

  6. #16
    Join Date
    Oct 2004
    Location
    In My Computer
    Posts
    946
    Tokens
    372

    Default

    I tryed it, But how i make a php page Or like the tag for a php code? i forgot
    Haven't updated this in around a year, so now i have

  7. #17
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    just have the page as index.php rather than .htm etc. then its just normal html on it, exspet stuff between
    <?php

    ?>

    tags

  8. #18
    Join Date
    Oct 2004
    Location
    In My Computer
    Posts
    946
    Tokens
    372

    Default

    You can't put php on html page??
    Haven't updated this in around a year, so now i have

  9. #19
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    nope, but u can put html on a php page.

    Only way u could run php of a html page would be by chaning apachie fiels to runn html as php documents "/ but u cnat do that unless u hsoting u self "/

  10. #20
    Join Date
    Oct 2004
    Location
    In My Computer
    Posts
    946
    Tokens
    372

    Default

    Sounds to tricky, I'm just looking for something basic

    I've already got A poll and shout box look Click here


    I'm looking for webstats like that just as simple, sign up get code = happy chap, Any ideas?
    Haven't updated this in around a year, so now i have

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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