View Full Version : live visitor counter / unique ip's
VERMIN
12-01-2005, 08:02 PM
hi there, ive been searching for a way to count the unique ip's of visitors that are currently watching the flash site.
does one have a sollution for this? i am looking for a php / flash way of working without the use of databases.
kind regardz & thanx in advance.
Flash Gordon
12-10-2005, 04:25 PM
it has been asked before, and more importantly answer. If you search the forums, you should find the answer. However, I think the answer given was in session_id() and not IP addresss, although either would work.
If you find the answer please post it.
flash way of working without the use of databases.Think you may have shot yourself in the foot there....
VERMIN
05-28-2006, 11:59 AM
yes you were right,
i asked this before i got into mySql
though it's possible without a db, but it is idd actually more difficult to setup
i got it to work by now, i should have done a better search, thanx for your reply
sorry for my late very late reply, that's what happens when you lose internet for a while :)
Flash Gordon
05-28-2006, 06:19 PM
Anyway, if you are using a db. Basically save the user's IP and time of connection to your site in a table. Using Michael class (sticky in the AS 2.0 forums) that determines if a user is inactive (or make a class you self). You should update the database everything 60 seconds (or however long you choose). Count the IP's in the table where the time is current.
Also you could set up a socketconnection (like a gaming server) to get better and faster results. That work wouldn't be worth it to me.
Glad you got it worked out.
:)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.