Getting the IP address of visitors and displaying the country

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