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

大憨熊 提交于 2019-12-29 09:37:10

问题


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...



来源:https://stackoverflow.com/questions/4649926/how-to-count-the-site-current-visitors-using-java-script-or-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!