Live counter scripts?

Discussion in 'Programming' started by YugKoobe, Jan 12, 2007.

  1. #1
    I'm looking for a sort of live counter where I can input stats for the counter to update these in real time,
    sort of like this site: World Population Counter

    Any suggestions?
     
    YugKoobe, Jan 12, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Something like that requires a server-side and client-side solution. First I would have a real-counter on the backend, probably cron and DB driven. Then on page load, set the variables from the DB vars, and have it increment or decrement at the same speed as the server-side variables would :)
     
    ccoonen, Jan 12, 2007 IP
  3. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185