PC Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to PC Magazine for Free!
AJAX IMPACT


TUTORIALS
Mapping website visitors in real time using Google Maps
05/09/2006 By Vegard A. Larsen


This tutorial talks about mapping website visitors in real time using Google Maps API. You can geographically locate the visitors to the website, and tag their locations on a map, using Google Maps, Ajax, MySQL and PHP.

Check out the Real Time Demo here.

"A while ago I had an idea. What if I were to try to geographically locate all the visitors to my website, and tag their locations on a map? Using Google Maps, Ajax, MySQL and some PHP, it came together quite nicely."


Download the code:

The map: index.html. Displays the map, and contains the JavaScript functions.

Creating XML files: get_xml.php. Produces XML code with markers for the map.

Parsing the log: parse_log.php. Parses Apache's log, and puts it into a database. Then it geolocates the IP's found. This file should be run every minute, probably by a cron job.

Configuring: config.php. Contains database connection code.

Google Map

   Read Full Tutorial ...

 Rate this Ajax Tutorials
 Rating: 8.4 out of 13 votes cast

AJAX NEWS
04/01/2007 wxJavaScript : porting wxWidgets to JavaScript.
03/31/2007 DED|Chain - The web developers JavaScript Kit
03/30/2007 Clipperz Crypto Library - a JavaScript library of crypto primitives
03/28/2007 ETech - AJAX Unplugged Slides
03/27/2007 Stripe Generator: ajax powered web 2.0 tool!
03/26/2007 Finally Microsoft joins the OpenAjax Alliance


INDUSTRY NEWS
05/19/2006 Ajax grabs center stage at JavaOne, By Tony Baer
05/15/2006 Oracle to boost AJAX, Java , By Paul Krill
05/13/2006 Open AJAX Group Drafts Development Plans, By Stacy Cowley
05/13/2006 AJAX Powers Interactive Marketing ASP, By AjaxWorld News Desk
05/12/2006 AJAX Experts Tackle Security, Other Issues , By Darryl K. Taft
05/11/2006 Adobe Releases Spry Framework for AJAX, By AjaxWorld News Desk
More 
       

      © 2008 ajaximpact.com. All rights reserved.