Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

12 Apr 2004

A banner script

Recently i wrote a banner system that displays different banners based on the visitor’s country. It uses the remote address to find the country associated with that address (using geoip), and then it looks in the database to find a url for that country. If there is no such url, it looks up the default url. And finally it redirects the visitor to the url.