<cfset sInfo="You are NOT using an iPhone.. Bah!"> <cfif Find("iphone;",LCase(CGI.ALL_HTTP)) GT 0> <cfset sInfo="Hurray! You are using an iPhone!"> </cfif> <cfoutput><html> <body> <center> <h2>#sInfo#</h2> </center> </body></html> </cfoutput> |
Temperary spot for my test page: http://chomer.com/iphone/games/icheck.cfm
Run it on your iPhone, then run it on something else!
hi any idea from detect blackberry and nokia movil? in this option (Find)
ReplyDeletethanks
Sorry, I've never worked with those devices before. One thing that you could do is create a simple ColdFusion web page that displays the contents of CGI.ALL_HTTP:
ReplyDelete#CGI.ALL_HTTP#
, go to it from device and see what comes up!
Fantastic! congratulations for your work and ideas.
ReplyDeleteColdFusion Downloads