is there a script to detect, if the visitor use iphone (whatever it\'s browser, may iphone Safari, iPhone for Opera or etc.)?
Then will shutdown some some of my Java
Late, indirect answer to this question, but I found it useful.
Instead of redirecting mobile users, consider using responsive CSS design to deliver desktop and mobile users the same content with two different styles. This helps avoid splitting and duplicating code. You can code responsive CSS from scratch, or use prepackaged frameworks like Twitter Bootstrap.