CodeIgniter Forums
File uploading class problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: File uploading class problem (/showthread.php?tid=3460)



File uploading class problem - El Forum - 10-03-2007

[eluser]emperius[/eluser]
when i try to upload file with other than English symbols in its name the following happens:
file uploader class returns correct file name
the file is uploaded but instead of other than English symbols there appear symbol "?"

for instance i upload file testŠ¹.jpg
there returns correct file name but on the hosting there's file with the name test?.jpg


File uploading class problem - El Forum - 10-03-2007

[eluser]Derek Allard[/eluser]
I believe This is a PHP limitation.

http://ellislab.com/forums/viewthread/59705/


File uploading class problem - El Forum - 10-03-2007

[eluser]emperius[/eluser]
[quote author="Derek Allard" date="1191430427"]I believe This is a PHP limitation.

http://ellislab.com/forums/viewthread/59705/[/quote]

Do you have any Idea how to fix this? Smile


File uploading class problem - El Forum - 10-03-2007

[eluser]Derek Allard[/eluser]
Store the filename as an md5() hash, or rename it.


File uploading class problem - El Forum - 10-03-2007

[eluser]emperius[/eluser]
yes I already done this. But I have no idea what to do if i'll need to store filename...