"Sunny at wde" <[EMAIL PROTECTED]> wrote in message
> hi all!
> i'm building a registration system, and i want to strip all funky
> character map symbols from the username as well. i know strip_tags()
> gets rid of html, but how do i get rid of them?? :(
> i just want simple a-z, A-Z and 0-9 allowed in the username.

Check with reguler expression, ereg(),etc or strspn().
You probably should not strip invalid chars, but return errror.

Yasuo Ohgaki

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to