Thread: PHP Refer
View Single Post
  #6 (permalink)  
Old 07-05-2008, 02:43 PM
ishkey's Avatar
ishkey ishkey is offline
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,732
ishkey will become famous soon enough
Default

Here is a Java IP (InetAddress) Locator from SourceForge
Java and ColdFusion libraries to lookup country code and language from IP address. It uses a local copy of the WHOIS database to perform fast, accurate lookups of country codes. Useful for log analysis, internationalization, geolocation, etc..
http://sourceforge.net/projects/javainetlocator/

How about taking the variables from the script and passing them to a php file to process the reffer site. Most people have java turned on, you would only miss out on private servers. And why not set a cookie so when they return you can process them.
__________________

Consultant - Programmer - WebMaster
cleandeck - lawn mower undercoating
wilmargraphite - graphite lubricants
Reply With Quote