Getting the IP address of visitors and displaying the country

Your IP Addres is 34.239.177.24
This is ad number 1, because you are from USA