24/7 Live Chat Support
  • 24/7 Support
  • UK based: (+44) 0800 0488 186
  • US based: (570) - 445-3230
/archives

detect iphone

This tag is associated with 1 posts

Detecting iPhone, Blackberry etc using ColdFusion

TweetMany of our clients have been asking about detecting if a user is using a blackberry or iPhone etc to view their website and redirect to a mobile version of their websites. Well we have put together a little bit of code to do this: Code example: <cfif findNoCase(‘blackberry’, CGI.HTTP_USER_AGENT)> <cflocation url=”http://blackberry.yourdomain.com” addtoken=”no”> <cfelseif findNoCase(‘iphone’, [...]