xcoder - 10:08 am on Sep 1, 2012 (gmt 0)
I'm looking for some advice on the best method for detecting a user browsing agent and redirecting to a mobile site accordingly.
The site currently consist of 7 static html pages. The html files are able to run php code in them.
What i am after is some php code capable of doing the browsing agent detection (covering all up to date mobile browsers, tablets including ipads included) and redirect to the mobile site if/when detecting a mobile device.
Could someone please recommend a good solution.