Chrisj Posted May 7, 2013 Share Posted May 7, 2013 I'm creating a mobile version of a web site that's using the phpMotion script.In the desktop version when Registration link is selected it executes the code in join.phpand displays inner_signup_form.htm, where visitors register. What's the easiest solution when visitors visit the web site, via a mobile device?I'm creating a mobile version of the website in a subdomain.I'm using GitHub code to redirect mobile users to the subdomain (Mobile Detect PHP).Can you suggest some code that I can add to join.php (not in the subdomain) that willsay: If Mobile Then Go To The Mobile Page Version of inner_signup_form.htm? Link to comment https://forums.phpfreaks.com/topic/277773-help-with-re-directing-from-php-to-mobile-version/ Share on other sites More sharing options...
Q695 Posted May 8, 2013 Share Posted May 8, 2013 did you try looking for the solution already? http://php.net/manual/en/function.get-browser.php Link to comment https://forums.phpfreaks.com/topic/277773-help-with-re-directing-from-php-to-mobile-version/#findComment-1429017 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.