|
Posted by Ivαn Sαnchez Ortega on 12/28/07 16:17
jodleren wrote:
> Windows based systems do not allow certain characters. I need to check
> for them, _even_ that my server can handle them, I still have to think
> of the user downloading a file etc....
Then, you do not want to check for the positions of the invalid characters
(as you said on your original post).
You want to run a preg_match (to detect) or preg_replace (to fix) on the
filename string.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
Navigation:
[Reply to this message]
|