LOL, yeah, I will be accepting royalties off of that code. I mean, I think I'm owed by everyone who uses that bit of genius and infinitely complex code for their own benefit. Would you expect me to just GIVE the code away for free??? And if you'd like even better code worth even higher royalties, how about this bit which will even set a default value if the variable is empty:
<cfif cgi.http_user_agent neq ""> <cfset usersOS = CGI.HTTP_USER_AGENT> <cfelse> <cfset usersOS = "unknown"> </cfif> Now, if you're not sufficiently advanced in CF development, I'd suggest asking for help with this one! Seriously Jonese, I'm sorry to be having fun with this at your expense, but you spent way more time looking for a function to do this than it would have taken for you to write a couple of lines of code and that's even if you only spent 10 minutes looking! --Ferg Mingo Hagen wrote: > Ken Ferguson wrote: > > >> Well, if you just need someone to write it for you... >> >> <cfset usersOS = CGI.HTTP_USER_AGENT> >> >> >> > > What sort of license is that under? can we use that? do we need to pay > you? how much? all these questions. > > M. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235032 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

