Pure PHP Upload Add-On Pack Support Product Page

Answered

Getting web-conform file names

Asked 10 Aug 2013 13:17:32
2
have this question
10 Aug 2013 13:17:32 Michael Huber posted:
Hi, how can I use the pure PHP Upload Add-on Pack to rename a file to small letters, no spaces, no extra characters?...i.e:

user uploads file: Äquator BILD.JPG
Result: aequator_bild.jpg

Thank you for your help

Replies

Replied 12 Aug 2013 07:47:59
12 Aug 2013 07:47:59 Miroslav Zografski replied:
Hello Michael,

By default the Pure PHP Upload handles some cases when it comes to special characters. In example when file like "test test.jpg" is uploaded it is automatically renamed to "test_test.jpg". The Extension handles also the special characters like @#$%^&*. Wen it comes to special alphabet characters like á à â ã ä the extension do not handle them. Using the rename add-on would probably help if you have a custom function to check for such characters.

Regards.
Replied 13 Jun 2014 11:11:53
13 Jun 2014 11:11:53 David Woolley replied:
Does the Rename add-on convert the filename to lowercase?
Or is this handled by the PPU3 extension?
How would I do this?
Regards
Dave

Reply to this topic