Sorry, I don't know how to write a title for this that would be very descriptive. Here's the issue. I have a <input type="file> on a php page where a user can browse and upload a file. I then have the page make a directory (that is the same name as the file) and upload the file into that directory at the same time putting the name of the directory and the name of the file in a MySQL database. With me so far?
Microsoft office has an array of programs such as power point, word, outlook, etc... These programs tend to "auto correct" or "adjust" certain texts. For example, if you were to type the number 1, a space, a dash and then another space you will find (in Arial anyway) that once you hit the second space it lengthens the dash.
In my issue someone I know took their power point file and copied the title inside of the file (which had one of these longer dashes) and saved their file with that name. This file was then uploaded and the longer dash caused Internet Explorer to not be able to pull it up for download.
Does anyone have any advice that they can offer as far as how to handle this issue?
Other forums I've posted this question in:
http://forums.devshed.com/php-development-5/php-filename-dash-problem-586464.html
http://forums.codewalkers.com/php-coding-7/php-filename-dash-problem-918254.html
http://www.sitepoint.com/forums/showthread.php?p=4127639#post4127639