Re: formatting a filename

From: Date: Thu, 05 Sep 2002 14:20:27 +0000
Subject: Re: formatting a filename
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115315@lists.php.net to get a copy of this message
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


« previous php.general (#115315) next »