TheCosmonaut
Joined: 10 Dec 2010 Posts: 4
|
Posted: Feb 02, 2011 5:09 pm Post subject: Strip bad characters from file name |
|
|
Hi there!
I'm wondering how to strip illegal characters from uploaded file names. For example, people can upload files with # ' " $ @ & and spaces in them and they get dropped into the upload directory with those names intact. I know the trick must be in the SaveFile function but I just don't know enough CGI to hack this together well.
Any suggestions?
Thanks,
--eric |
|