IPhone Detection
From IPhone Developers' Wiki
Look for the User Agent string to determine if the user is viewing your site with an iPhone or not. You could then do a javascript redirect like this:
if (navigator.userAgent.indexOf('iPhone') != -1) {
location.href = 'http://www.apple.com/iphone';
}
