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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to