Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

About simultaneous users...

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

About simultaneous users...

Postby mnicolas80 » Mon Dec 02, 2002 6:15 am

Is there any way to count how many simultaneous users are visiting my site?
mnicolas80
New php-forum User
New php-forum User
 
Posts: 3
Joined: Fri Nov 29, 2002 8:44 am

Postby Oleg Butuzov » Wed Dec 04, 2002 12:25 am

Yes thera are some ways...

you can set coockie to every user of your site...
after that you can get data of the last visiting of your pages...
and put this data into some Mysql table with time of last visit...

after that you can select data from table by last_time_visit and condition of this query must be time (current time minus five minutes)...

at result you will get numbers of users at your site.
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am


Return to PHP coding => General

Who is online

Users browsing this forum: Google Feedfetcher, Yahoo [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron