Thank you very much for the post. I tried all of these. They either didn't work or only the country part worked "You're in the UNITED STATES".
But, nothing for city "you're in LOS ANGELES" or similar.
The reason is I recall an promotion someone did a couple years ago where the headline of the ad said "Man in YOUR CITY discover how to blah, blah"
Where "YOUR CITY" was the user's city. So, it would say "Man in Los Angeles discover how to ..." and because of that headline, the conversions of that site went up like 200%.
I was told it was a simple PHP script that based on the user's IP, and it would print the city. It all seemed pretty simple and now that I'm searching for it, I've had zero luck. Only the a few script to print out the country, but nothing else =(