Page 1 of 1
Script Wanted
Posted: Fri Sep 13, 2002 10:10 pm
by Yegor
Hi! I was wondering if anyone can suggest me a good *WORKING* users online script. Its simple, I just need to include it into my main page, and I want it to show how many users are viewing this page at the moment, thats all. It needs to be very dynamic, so when the person leaves, the numbers change. because I got a really slow one from phponline.biz
Can anyone suggest me a good, simple script?
Posted: Fri Sep 13, 2002 10:11 pm
by hob_goblin
http://www.hotscripts.com
it has a whole section on it..
Posted: Fri Sep 13, 2002 10:13 pm
by Yegor
Don't U think I looked there already?
HEY!!!
Posted: Fri Sep 13, 2002 11:30 pm
by AVATAr
HEY!... we are trying to help.. but if u want to learn just read and dont be so rude
this forum is not a: "I Need a script" forum... here you can learn.. as i do, but not that way

Re: Script Wanted
Posted: Fri Sep 13, 2002 11:56 pm
by jason
Yegor wrote:Hi! I was wondering if anyone can suggest me a good *WORKING* users online script. Its simple, I just need to include it into my main page, and I want it to show how many users are viewing this page at the moment, thats all. It needs to be very dynamic, so when the person leaves, the numbers change. because I got a really slow one from phponline.biz
Can anyone suggest me a good, simple script?
They dont' exist. They are really easy to do though.
Simply create a session for each person that goes on the site, and store that session in a database. Then, as the person goes through the site, you update the database with a last_impression. To display the number of users on the site, simply count the total number of sessions in the table that have a last_impression time of less than x number of minutes.
Posted: Fri Sep 13, 2002 11:57 pm
by dusty
Posted: Sat Sep 14, 2002 12:54 am
by Takuma
Yeah just make it yourself. Create a entry in database everytime user visits the site and update it when user clicks one of the links... (don't forget to set the timeout though...)
Posted: Sat Sep 14, 2002 12:04 pm
by hob_goblin
exactly what i was pointing for, but i thought he could find it without me pointing the whole URL
Posted: Sat Sep 14, 2002 12:11 pm
by Takuma
lol -> may be he went to ASP section?