This is a small Php script I wrote in 2005 to detect the browser heads and redirect the user to the appropriate version of the website