how to count the site current visitors using java script or php

11.3k Views Asked by At

I need to get the current site visitors number using Javascript or PHP.

I need it using the best way between php and Javascript.

2

There are 2 best solutions below

2
On BEST ANSWER

The following link is a blog post regarding a widget that will allow you to use PHP, MySQL and JavaScript/jQuery. It might be able to point you in the right direction for what you need, and features a tutorial on implementing it.

Who Is Online Widget

Hope this helps you out.

1
On

Here is another great tutorial that might help you out:

http://inobscuro.com/tutorials/simple-php-unique-visitors-counter-30/

Good will coding...