<p>I'd argue that if you need to do this, your main site is wrong. All but the oldest of phones can render HTML + CSS. You can just use CSS or similar to reformat the site for a mobile device </p>
<div class="gmail_quote">On 27 Oct 2010 19:05, "Mo Awkati" <<a href="mailto:mawkati@yahoo.co.uk">mawkati@yahoo.co.uk</a>> wrote:<br type="attribution">> Hi,<br>> <br>> Can anyone suggest a decent script for detecting mobile phone browsers and <br>
> redirecting<br>> visitor to the mobile phone version of the site?<br>> <br>> Many thanks<br>> <br>> Mo<br>> <br>> <br>> <br>> <br></div>