Greet your visitors based on thier location easily...
Personalizing a website for the visitor who is at the moment surfing your website is really an excellent and increases more number of returning visitors. Personalizing can be to any extent. Sky is the limit of personalizing the website to users' preferences and tastes. For example, My Yahoo and Inbox.com have high levels of personalizing to the user's tastes in terms of News, Music etc.
To start with a minimum amount of personalization can be saying a 'Hi' to the user and show his country name. Sounds cool. Is'nt it? Read on...
This actually works, since the web browser that the user is connecting to your server, would be sending an IPAddress of it and based on that, you can do some more checks to get all details. This indeed, involves a bit of network lookups and nameserver operations.
A good news for free homepage webmasters too. Check out this website called IP2Phrase, which gives all these details by just placing a small script that the website gives. It is free too.