function generate_password( $length = 8 ) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; $password = substr( str_shuffle( $chars ), 0, $length ); return $password; }
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Showing posts with label Password. Show all posts
Showing posts with label Password. Show all posts
Saturday, 28 June 2014
How to generate passoword in php with specific length?
Saturday, 21 June 2014
Generate Password in alphanumeric using PHP
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$password = substr( str_shuffle( $chars ), 0, $length );
Subscribe to:
Posts (Atom)