Published on 2005-11-26 03:53:31
I tryed in the previous tutorial to make something easy to understand, and we'll try to see in this tutorial how we can play with the previous code to make an AJAX Real Time Online Visitors. The idea of the script is simple, the javascript request a remote script to get the number of online visitors and update it every minutes or two. So while visiting a page you can see the number of visitors changing in real time.

Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved