Posted by Taras_96 on 01/28/07 12:54
Hi everyone,
I'm trying to get uploading files with Chinese filenames working in
PHP on a Windows 2000 machine. I'm using PHP 5 and Apache 2.2. When I
attempt to upload a file with chinese filenames, the file name gets
mutated into dashes, pretty much matching the behaviour described at
'http://gallery.menalto.com/node/57709'. However, I need the original
filename (to store in a DB). The post on the manual website by
kweechang at yahoo dot com at http://au3.php.net/manual/en/
features.file-upload.php describes using javascript to set a hidden
field. This would work fine but for now I'm trying not to resort to
javascript on my webpage. Does anyone know how the original filename
can be retrieved without using javascript? Maybe there is a setting in
Apache?
Thanks
Taras
[Back to original message]
|