/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function auth_pwgen(){ $pw = ''; $c = 'bcdfghjklmnprstvwz'; //consonants except hard to speak ones $v = 'aeiou'; //vowels $a = $c.$v; //both //use two syllables... for($i=0;$i < 2; $i++){ } //... and add a nice number return $pw; }