Hi Bassically what i want to do is check the user agent and if it is a mac redirect to /mac if it is a pc redirect to /pc if it is another or unknown to /unknown does anyone know how to do this? Thanks
Try the get_browser() function: http://www.php.net/manual/en/function.get-browser.php If you look at example #1 on that page you will see how you can extract out the data into an array and then find out the platform/operating system of the user.