File Upload. File name with spaces - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: File Upload. File name with spaces (/showthread.php?tid=45846) |
File Upload. File name with spaces - El Forum - 10-08-2011 [eluser]Unknown[/eluser] I have an issue with the File Uploads class. I've enabled remove spaces, and encrypt file name. The problem is is the file has no extension such as: Code: File With No Extension When uploaded the fine name ends up: Code: f12314db2d1de7f651a1ec0722b41ca1.File With No Extension How can I get around this? The user is allowed to upload ANYTHING. I know this sounds insecure, but honestly, it's not. So, how can I resolve this issue? |