> <cfset safeString = Replace(evilString, "'", "\'", "All")>
>
> (escape single quotes by replacing them with \')
But are single quotes the only evil things I need to watch out for? If so,
woo hoo! But I kind of doubt it?
- Sean
~~~~~~~~~~~~~~~~~~~~~~~~~~
Sean Daniels
Manager, Engineering
(T): 207.439.6030
(C): 978.764.0799
~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.dealforce.com
http://www.mergernetwork.com
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.