$filename = strtolower (eregi_replace ("[^A-Za-z0-9_.]", "_", $filename));
seems to be what I want.
thanks to everyone for the help
Javier
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP General
You shouldn't use str_replace as he said, but preg_replace() or
ereg_replace(), ereg are easier to use. take a look at
www.php.net/ereg_replace .
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Javier Montserat" <[EMAIL PROTECTED]> a écrit dans le
2 matches
Mail list logo