how to count the site current visitors using javas

2020-02-15 08:45发布

问题:

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

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

回答1:

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.



回答2:

Here is another great tutorial that might help you out:

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

Good will coding...