Page 1 of 1

Spaceing on Signup

Posted: Tue Feb 15, 2005 3:29 pm
by Smackie
How do i let my users signup so they cant have spaces in there name but i do want them to have "-" in there name i dont mind if they have - in there name ...

And when they submit the signup it sends them a email having there password and there username..... And i would like for the signup page to require the user signing up to fill in username password and email address....

Posted: Tue Feb 15, 2005 3:40 pm
by feyd
regular expressions can do this. str_replace() can as well, depending on how smart you want this to be.