[eluser]Billy Khan[/eluser]
I have a file upload page all built and works ok.
The one problem i have is with file names containing a single quote:
e.g. "It's my word document.doc"
What it will do is start at the quote, so when its uploaded it has been renamed to:
"s my word document.doc"
I have checked the upload class and can see that it should take care of quotes by passing the file name through:
Code:
function clean_file_name($filename)
How can i stop the file name from changing?