I use this, it includes also national characters $name=strtr( $name, "`O}ao~�YY�A��A�AA�E�E�I��I?NO��O�OU�U���a��a�aa�e�e�i��i?no��o�ou�u��y *!@#$%^&()+=", "SOZsozlYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy_____________");
Javier Montserat wrote: > i want to format the filename of an uploaded file as follows :- > > -- replace blankspace with "_" > > -- remove any illegal characters. > > Which string functions should I use to do this? > > Thanks, > > Javier > > > > _________________________________________________________________ > Join the worlds largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

