This is Ramu Baba's Typepad Profile.
Join Typepad and start following Ramu Baba's activity
Join Now!
Already a member? Sign In
Ramu Baba
Recent Activity
///form action="register.php" method="POST"> name username A B C D E F G H I J select password pattern from above string dob email already registered login here .................. $name=$_POST['name']; $pattern=$_POST['pattern']; $username=$_POST['username']; $email=$_POST['email']; $dob=$_POST['dob']; $flag=true; $password_pos=""; for($i=0;$ilogin here"; } } else { echo "pattern mismatch....please select pattern from string only"; } ................... username php $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; $size = strlen( $chars ); $str=""; for( $i = 0; $i <10; $i++ ) { $str .= $chars[ rand( 0, $size - 1 ) ]; } echo "$str"; ?> password /> ............. validatelogin $username=$_POST['username']; $password=$_POST['password']; $random_string=$_POST['random_string']; require_once("db.php"); $query="select password from user_data where username='$username'"; $result=mysql_query($query); $data=mysql_fetch_array($result); $saved_pattern=$data['password']; $entered_pattern=""; for($i=0;$i
Toggle Commented Nov 8, 2012 on The PHP Singularity at Coding Horror
index.php... name username A B C D E F G H I J select password pattern from above string dob email already registered login here =============================== register.php login here"; } } else { echo "pattern mismatch....please select pattern from string only"; } ?> ================= login.php username $str"; ?> password /> ========= validate_login.php ================== db.php
Toggle Commented Nov 8, 2012 on The PHP Singularity at Coding Horror
Ramu Baba is now following The Typepad Team
Nov 7, 2012