At 12:20 PM -0700 3/31/08, Jim Lucas wrote:
I have a very similar routine, but for the previous line, since you
can reference a string as an array, I do this:
$char = $possible[mt_rand(0, strlen($possible)-1)];
In this example, it would save ten function calls, if not more.
just a suggestion
Mário Gamito wrote:
Hi,
I have the code of a function to generate a random 10 character long
password following my signature.
To test it i do:
$clearpass = create_pass();
print('Clear: ' . $clearpass);
die();
But the output is only "Clear:"
Why isn't it working ?
Any help would be appreciat
Mário Gamito wrote:
I have the code of a function to generate a random 10 character long
password following my signature.
To test it i do:
$clearpass = create_pass();
print('Clear: ' . $clearpass);
die();
But the output is only "Clear:"
Why isn't it working ?
Works fine here: http://dev.stu
Hi,
I have the code of a function to generate a random 10 character long
password following my signature.
To test it i do:
$clearpass = create_pass();
print('Clear: ' . $clearpass);
die();
But the output is only "Clear:"
Why isn't it working ?
Any help would be appreciated.
Warm Regards,
Már
4 matches
Mail list logo