[英]how to count the site current visitors using java script or php
I need to get the current site visitors number using Javascript or PHP. 我需要使用Javascript或PHP获取当前的网站访问者人数。
I need it using the best way between php and Javascript. 我需要使用php和Javascript之间的最佳方法。
The following link is a blog post regarding a widget that will allow you to use PHP, MySQL and JavaScript/jQuery. 以下链接是有关小部件的博客文章,该小部件将允许您使用PHP,MySQL和JavaScript / jQuery。 It might be able to point you in the right direction for what you need, and features a tutorial on implementing it.
它可能能够为您指出所需的正确方向,并提供了有关实施的指南。
Hope this helps you out. 希望这可以帮助你。
Here is another great tutorial that might help you out: 这是另一个很棒的教程,可能会对您有所帮助:
http://inobscuro.com/tutorials/simple-php-unique-visitors-counter-30/ http://inobscuro.com/tutorials/simple-php-unique-visitors-counter-30/
Good will coding... 善意编码...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.