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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.