This topic is locked

uploading file

1/12/2012 4:14:12 AM
PHPRunner General questions
G
giorgiots author

I don;t if that is relative with prprunner but I would really appreciate any help.

So this is the problem. I have a mysql db using utf-8 general coalition. I have a phprunner form (language and regional - Greek, output code page UTF-8) with an filed set as file/image.

When I'm uploading a file having only latin characters in it;s filename everything is ok. When there are non latin characters in the filename (greek for example), the filename on the db is stored properly but the filename of the actual file stored on the server is all messed up.

I tried to use iconv in the before add eent but i'm getting an error message (iconv detected illegal characters). Is there a way to overcome this problem (perhaps altering the upload function, not using the events)?

Sergey Kornilov admin 1/12/2012

I'm afraid providing a meaningful advise without access to your web server will be tough.
Is that something that can be reproduced on Demo Account?

G
giorgiots author 1/12/2012

Well, I've tested the application on nix servers and windows servers (2000 and 2003) and the problem is occurring only on the win servers. I think that the applications is trying to store the file using utf-8 that cannot be handled by the win servers.
Can you point out for me the location of the "uploading fuction" and it's name(s)?
Thanks in advance

Sergey Kornilov admin 1/12/2012

'Demo Account' button can be found on the last screen in PHPRunner.