Hello,
I wrote a script that uploads images to a web site via the browser, and the names are stored in the database. Everything works great except I just discovered that Netscape 'kacks' on images with whitespaces in their names.
So you say, 'don't use whitespaces in your naming convention', fine. However, I have several clients using this function on various web sites, and no matter how many times you tell them, 'don't use whitespaces' they still do.
I'm trying to write a function that looks at the file name when uploaded, and if it finds whitespaces it replaces them with an underscore. I'm not having much luck...any help, suggestions, links would be much appreciated.
Cheers,
JB