jonniejoejonson Posted May 4, 2011 Share Posted May 4, 2011 I have a site with seperate content and design for pc and mobile devices... What is the best way to detect and serve the correct content... 1. htaccesss file to detect the devise and then serve... 2. config.php file to detect devise and then serve appropriate files?.. ... im guessing it is version 2 that way you can still allow mobile users to access the full website.... kind regards J.. Link to comment https://forums.phpfreaks.com/topic/235518-mobile-and-pc/ Share on other sites More sharing options...
JKG Posted May 4, 2011 Share Posted May 4, 2011 yeah i always use a script to determine. you can manipulate it easier. use cookies etc. http://detectmobilebrowsers.mobi/ is my general use function. Link to comment https://forums.phpfreaks.com/topic/235518-mobile-and-pc/#findComment-1210442 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.