if (!eregi("[[:alnum:]]",$pasword){
echo "Alphabetical and numbers only";
}
Will desply the error if there is any other than 123 or abc it will give the error els it will run. right
Php Securty
Moderator: General Moderators