I'm looking for a way to create a validatin script so that users on my signup page can't use certain charecters, like the space bar lol.
Any ideas where i can find such a script or start making one?
user signup validation
Moderator: General Moderators
regex
Code: Select all
if (!ereg("[[]]",$var)){
echo "only alpha numeric characters allowed";
show_login_form();
die();
}