I currently have a digital advertising platform built with PHP MySQL. Our current challenge is our inability to determine the country of an IP which clicked on any of the ads. The application currently records all IPs which clicks on an advert.
We want a simple PHP script or function which can return the country the IP is coming from. For example an IP like [url removed, login to view] should return the country it is from which is US. (that is the 2 character acronym of the country).
The script should use a simply function which we can use on our current program. This is how the call to the function should be:
This function should simply just return the 2 character acronym for the country the IP belongs to.
The programmer is required to upload the current IP database table for us.
7 freelancers estão ofertando em média $94 para esse trabalho
Write a function to determine a country by IP is easy. But how about a script to update IP database? Or will you be updatng it manually? I can write another script to update it automatically.