first commit
This commit is contained in:
18
func_tangen.php
Executable file
18
func_tangen.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
function tangen(){
|
||||
$pool = "qwertzupasdfghkyxcvbnm";
|
||||
$pool .= "23456789";
|
||||
$pool .= "WERTZUPLKJHGFDSAYXCVBNM";
|
||||
$pool .= "!#?-";
|
||||
|
||||
srand ((double)microtime()*1000000);
|
||||
for($index = 0; $index < 7; $index++)
|
||||
{
|
||||
$pass_word .= substr($pool,(rand()%(strlen ($pool))), 1);
|
||||
}
|
||||
return $pass_word;
|
||||
}
|
||||
|
||||
#echo tangen();
|
||||
?>
|
Reference in New Issue
Block a user