[ index ]

Javascript Solution: getIP function demo application

Here is a demo of a Javascript designed to get the current IP address. A key element of the algorithm is that it makes a synchronous XMLHttpRequest to a server php script, i.e. ip = getIP(); does not return until the server has provided the answer. Here is a sample of the script in action: It is also a useful basis for a method of avoiding those pesky accidental invalid clicks.

2006-03-24 15:37:10
FREE CONTENT: The articles published here are available for public use on websites that abide by the current Google AdSense publishing policies with the provision that a visible and unfettered link back to the original article here must be included immediately following the republished material.

©2008 Echo3 Online Services, LLC