Re: Stripping out all illegal characters for a folder name

From: Date: Thu, 27 Nov 2003 00:41:14 +0000
Subject: Re: Stripping out all illegal characters for a folder name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171145@lists.php.net to get a copy of this message
On Thursday, November 27, 2003, at 03:12 AM, Curt Zirzow wrote:
I'd approach it the same way. preg_replace('/[^A-Za-z0-9_]/', '_', $dirname);
I totally agree with Curt here. Justin French

« previous php.general (#171145) next »