[code]
<?php
$special=’!@#$%^&*()~`;?+/={}[]-_’;
$arr_sp=str_split($special,1);
$arr=array_merge(range(0,9),range(‘a’,’z’),range(‘A’,’Z’),$arr_sp);
shuffle($arr);
$arr2=array_slice($arr, 0,14);
$str=join(”,$arr2);
echo $str;
?>
[/code]
Php generates 14 passwords. If you need to modify the number of passwords, just modify:
[code]
$arr2=array_slice($arr, 0,14);
[/code]
If you want to modify password string range content, just modify
[code]
$special=’!@#$%^&*()~`;?+/={}[]-_’;
$arr_sp=str_split($special,1);
$arr=array_merge(range(0,9),range(‘a’,’z’),range(‘A’,’Z’),$arr_sp);
[/code]