Results 1 to 4 of 4

Thread: counter people on line right now

  1. #1
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default counter people on line right now

    I'm sorry but I don't know which script is which, java, html, and whatever else..
    What I want is a program to let me know how many people are on my site right now. I don't need the fancy ones that show the flags and such. Just how many people are looking around my site at this moment. I have a stat counter.
    I usually see it on the top of the front page of peoples sites.
    Do you know what I mean? I wish I knew all the right terms to use..sorry...

  2. #2
    Join Date
    Jul 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by RD_Gringa
    I'm sorry but I don't know which script is which, java, html, and whatever else..
    What I want is a program to let me know how many people are on my site right now. I don't need the fancy ones that show the flags and such. Just how many people are looking around my site at this moment. I have a stat counter.
    I usually see it on the top of the front page of peoples sites.
    Do you know what I mean? I wish I knew all the right terms to use..sorry...
    I guess you can do it by javascript but not by html. With a browser's cookie feature, you can also record other people's browser / network info.

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Javascript is client side and cannot be accessed by the server or other users.

    you need a server side language.


    Basically... use a database (or list), and record IP addresses when someone visits the site. Then remove those addresses if they haven't been around for 15 minutes, or 30 seconds, or 2 hours, or whatever.
    This can be done with PHP.

    Kinda complex, though.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Aug 2006
    Location
    Evora
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i have on of those on my website

    http://www.abcompteur.com

    i have on of these free counters on my website. it works fine.

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
  •