PHP Strlen.Php – String Function

<?php
   $pswd = "secretpswd";
   if (strlen($string) < 10) echo "Password is too short!";
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.