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? Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.