Joseph Szobody wrote:
Folks,
I'm taking some user input, and creating a folder on the server. I'm already
replacing with _, and stripping out a few known illegal characters (',
, /, \, etc). I need to be sure that I'm stripping out every character that
cannot be used for a folder name. What's
* Thus wrote Sophie Mattoug ([EMAIL PROTECTED]):
Joseph Szobody wrote:
I'm taking some user input, and creating a folder on the server. I'm
already
replacing with _, and stripping out a few known illegal characters
(',
, /, \, etc). I need to be sure that I'm stripping out every
Sorry for the reply to the reply, but OExpress won't let me reply to
newsgroup posts...
From: Sophie Mattoug [EMAIL PROTECTED]
Joseph Szobody wrote:
I'm taking some user input, and creating a folder on the server. I'm
already
replacing with _, and stripping out a few known illegal characters
[snip]
Sorry for the reply to the reply, but OExpress won't let me reply to
newsgroup posts...
[/snip]
Had to laugh... :)
AND BTW Happy Thanksgiving to all of our folks who celebrate that
holiday!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
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
5 matches
Mail list logo