Hi Guys,
Currently, when we get email notification about a submission by the form we see at the bottom "Submitted by xxx.xxx.xxx.xxx"
We need to translate it using an API to actual city/country.
We already have the code from the API site:
$tags = get_meta_tags('http://www.geobytes.com/IpLocator.htm?GetLocation&template=php3.txt&IpAddress=189.222.9.192');
print $tags['city']; // city name
How/where do we incorporate this so it will be translated PRIOR to sending the email. we want the email to contain the City/Country value instead/alongside the IP.
Any help would be MUCH appreciated.
Ori๐
Currently, when we get email notification about a submission by the form we see at the bottom "Submitted by xxx.xxx.xxx.xxx"
We need to translate it using an API to actual city/country.
We already have the code from the API site:
$tags = get_meta_tags('http://www.geobytes.com/IpLocator.htm?GetLocation&template=php3.txt&IpAddress=189.222.9.192');
print $tags['city']; // city name
How/where do we incorporate this so it will be translated PRIOR to sending the email. we want the email to contain the City/Country value instead/alongside the IP.
Any help would be MUCH appreciated.
Ori๐