This is a difficult issue.

One solution is to check the HTTP_ACCEPT variable for
"text/vnd.wap.wml".

Here are some other resources:

http://www.andymoore.info/php-to-detect-mobile-phones/

http://www.brainhandles.com/2007/10/15/detecting-mobile-browsers/

Mike 

-----Original Message-----
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 30, 2008 2:07 PM
To: cf-talk
Subject: detecting mobiles

Hello,
 
What is the best way to detect mobile phones so I can send them to a
version of the web site that is more compatible with the mobile device
browsers?
 
#CGI.HTTP_USER_AGENT#
 
Does display "blackberry" when I test with my phone, but is this
reliable?  I wonder what the iPhone and other mobiles resolve as.
 
Thanks,
Chad



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314628
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to