0

Is there a way to find out in java / php if the user is on a mobile device so that the code generated is optimized for the browser. This way i could stop some of the time consuming java code, php code, and html code that is slowing down my users.

My company is a 10 year old ecommerce company with a massive site and lots of time consuming calls. I don't want to create a separate mobile site as i don't like having to maintain two code bases. What i am trying to do is create a simple mobile skin over the current site and optimize the key pages, with a navigation connecting them.

Thanks in advance!

Darren
  • 23
  • 4
  • https://www.google.de/search?q=php+detect+mobile ? – axel.michel Feb 16 '13 at 13:44
  • Someone please mark this as a duplicate. See: [dupe 1](http://stackoverflow.com/questions/9982907/detect-mobile-devices-and-tablet-devices), [dupe 2](http://stackoverflow.com/questions/386046/how-do-i-determine-whether-its-a-mobile-device-with-php), [dupe 3](http://stackoverflow.com/questions/6524301/detect-mobile-browser), [dupe 4](http://stackoverflow.com/questions/3817155/php-mobile-browser-detection) – Jess Feb 23 '13 at 18:31

0 Answers0