Jump to content

[SOLVED] password validation


chocopi

Recommended Posts

for some reason my validation keeps coming back as incorrect when it isnt. this is the code thats giving the problem:

 

if ($raw_password < 5){
echo ("Your password must be greater than 5 characters.");
require_once ('page_footer.php');
die ("");
}

 

The code keeps returning 'Your password must be greater than 5 characters.' even if i have typed in 20 characters

 

Any help would be appeciated,

 

~ Chocopi

Link to comment
https://forums.phpfreaks.com/topic/51217-solved-password-validation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.