Re: [PHP] Replace illegal filename chars???

2002-10-24 Thread Shawn McKenzie
7;s allow punctation also...[:print:] > will cover this. > > Now only if php supported [:control:] and [:graph:] :) > > -Peter > > > -Original Message- > > From: Shawn McKenzie [mailto:nospam@;mckenzies.net] > > Sent: Friday, October 25, 2002 04:48 > >

RE: [PHP] Replace illegal filename chars???

2002-10-24 Thread Thoenen, Peter Mr. EPS
ported [:control:] and [:graph:] :) -Peter > -Original Message- > From: Shawn McKenzie [mailto:nospam@;mckenzies.net] > Sent: Friday, October 25, 2002 04:48 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Replace illegal filename chars??? > > > Doesn't work. It retu

Re: [PHP] Replace illegal filename chars???

2002-10-24 Thread Shawn McKenzie
Doesn't work. It returned the same as what I put in: What's Up Doc? -Shawn "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message news:20021024122630.4E99.MAXIM@;php.net... > > Use a regular expression like: > > $str = ereg_replce("/[^[:alnum:]]/i", '', $str); > > > -- > Maxim Maletsky > [EMAIL