Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel





seo Strong or Secure Password Using PHP Code 2013

Seo Master present to you:






User Registration

UserName:

Password:






$username=$_REQUEST['username'];
$password=$_REQUEST['userPassword'];
//$retype=$_REQUEST['retypePassword'];

if($_REQUEST['submit']=="login")
{
if($password)
{
if(preg_match("/^.*(?=.{8,})(?=.*[a-z]+)(?=.*[^A-Za-z0-9])(?=.*[0-9\.\-\@\#\$\&]).*$/",$password))

{
echo "
Successfuly checked your password
";

}
else
{
echo "
Please Enter"."
"."Atleast 8 character"."
"."Alpha numeric value"."
"."1 Special character
";
}
}

else
{
echo "
Password field can not be empty
";
}
}

?>




2013, By: Seo Master

Labels:



Leave A Comment:

Powered by Blogger.