remulus Posted June 15, 2015 Share Posted June 15, 2015 Hi, I have a domain www.domain.us where i have a userprofile website located, and also a APP landingpage for the APP. Both are running on PHP. I would like to know, if it is possible to code the following and how: If i go from to the domain from a computer, it forwards to (shows) the userprofile website, and if i go to the domain on a smartphone/iphone/ipad/tablet it forwards to (shows) the app landingpage. All automatic so the user dont get any notice. Is it possible to code and how? Best regards Brian Petersen Quote Link to comment Share on other sites More sharing options...
fastsol Posted June 16, 2015 Share Posted June 16, 2015 Yes it's certainly possible. Now it's not necessarily 100% accurate to detect a device cause it can be fooled or the info may just not be there. I use the api from this site to get the useragent and other info http://useragentapi.com/ . It's very easy to use, there are other sites that give similar info/more so it really depends on your needs. Quote Link to comment 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.