Jump to content

Forward between 2 sites on tablet/iphone VS Computer


remulus

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.