I don't, but what I usually do is save the original file name as is just for
display purposes so the person who uploaded it can spot it easily. Then
rename the file according to some other things... like and ID in the
database, a category, etc... 

So a link to a file might look like...

<a href="0001.pdf">Old File Name.pdf</a>

Just an idea...
 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
 

-----Original Message-----
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 05, 2006 11:02 AM
To: CF-Talk
Subject: 'safe' filename UDF

Anyone have a good UDF to replace "bad" characters in a filename with 
"safe" ones?  ie, replace # signs with blanks, spaces with '_', commas, 
periods, etc?  I just looked on cflib and found nothing.

-- 

Ray




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228482
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

Reply via email to