Thanks! I knew someone had to have dont it....
Jeff ----- Original Message ----- From: "Brendan Avery" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 7:20 PM Subject: RE: Quick and dirty help! > <cfset > safefilename=REReplace(unsafefilename,"[^[:alpha:][:digit:]]","_","ALL > ")> > <cfset safefilename=safefilename & ".txt"><!--- or whatever extension > you > need ---> > > should make em pretty safe. > > -----Original Message----- > From: Development Team [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 12:20 > To: CF-Talk > Subject: Quick and dirty help! > > > Does anyone have a cf routine written to replace "unsafe" characters > from > text strings that will become file names? I don't know them all and I > am > pretty sure someone on this list has written something for that > purpose. > > Thanks... > Jeff > > > > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

