Php Securty

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
doggy
Forum Commoner
Posts: 80
Joined: Tue Dec 09, 2003 5:01 am
Location: South Africa

Post by doggy »

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
Post Reply