Results 1 to 4 of 4

Thread: counter [php]

  1. #1
    ghadeer is offline Net Builder
    Join Date
    Oct 2009
    Posts
    108
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <?

    $hits = file($hitsfile);
    $hits = $hits[0] + 1;


    $fp = fopen($hitsfile, "w");
    fwrite($fp, $hits);
    echo $hits;
    ?>

  2. #2
    Aytac01's Avatar
    Aytac01 is offline Newbie Net Builder
    Join Date
    Feb 2009
    Location
    Webhost Hell!
    Posts
    83
    Thanks
    0
    Thanked 3 Times in 3 Posts

  3. #3
    Daryl is offline Newbie Net Builder
    Join Date
    May 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A bit more information would be better?

    What do we do with that... I don&#39;t code PHP.

  4. #4
    ghadeer is offline Net Builder
    Join Date
    Oct 2009
    Posts
    108
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <div class='quotetop'>QUOTE (Daryl @ May 7 2009, 03:51 AM) <{POST_SNAPBACK}></div>
    A bit more information would be better?

    What do we do with that... I don&#39;t code PHP.[/b]
    this code you can put it at page and know how many people visited this page

Similar Threads

  1. (Resource) Flag Counter do you use it ?
    By StephenM in forum Community Software
    Replies: 1
    Last Post: 30 June, 2010, 15:00 PM
  2. Replies: 21
    Last Post: 8 June, 2010, 14:59 PM
  3. Counter Strike Tournament @ Gamers Connect
    By Prime in forum Community Building
    Replies: 0
    Last Post: 31 March, 2010, 15:51 PM
  4. Put a flag counter on your site or blog
    By DotComBum in forum Business
    Replies: 1
    Last Post: 16 July, 2009, 11:43 AM
  5. Counter-Strike Source anyone?
    By stickycarrots in forum Entertainment
    Replies: 3
    Last Post: 3 February, 2009, 23:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

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