CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 feha's random password generator

Print topic Send  topic

Author Message
kirchaj

Posts: 215
Posted: 05/07/2007, 12:49 PM

Anyone have a copy of Feha's random password generator function? I have been hoping his site would come back online but no luck so far.

I am hoping someone might have it somewhere. Thanks


TK
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 05/07/2007, 10:11 PM

kirchaj
Try sending him a private PM. Maybe he will respond to you.
View profile  Send private message
DonB
Posted: 05/08/2007, 8:13 AM

Can't help with that, but I used this with excellent results. I wanted
'pronounceable' passwords and this worked perfectly:

https://dev.mosuki.com/passogva/src/passogva.php

You might argue that it's a lot of code for a 'simple' thing, but it's not
something that's speed critical and it just plain works well, so who cares?

--
DonB

http://www.gotodon.com/ccbth


"kirchaj" <kirchaj@forum.codecharge> wrote in message
news:25463f82b653285@news.codecharge.com...
> Anyone have a copy of Feha's random password generator function? I have
been
> hoping his site would come back online but no luck so far.
>
> I am hoping someone might have it somewhere. Thanks
>
>
> TK
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

wkempees


Posts: 1679
Posted: 05/08/2007, 1:10 PM

Don,
I wonder, where do you find these jewels.
respect.

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
DonB
Posted: 05/09/2007, 8:39 AM

Walter, I spend w-a-y too much time on the computer. ;-)

--
DonB

http://www.gotodon.com/ccbth


"wkempees" <wkempees@forum.codecharge> wrote in message
news:254640d91ba4ef4@news.codecharge.com...
> Don,
> I wonder, where do you find these jewels.
> respect.
>
> Walter
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

2467

Posts: 47
Posted: 05/11/2007, 8:55 AM

Here you have body

**************************
ALL KREDITS TO FEHA
**************************

Random Password Generator
This function can be used to generate different random strings. It can be used for password generation and other unique ID strings. Random Password Generator:

<?
function VISION_TO_RANDOM
(
$length=7, //string length
$uselower=1, //use lowercase letters
$useupper=1, // use uppercase letters
$usespecial=1, //use special characters
$usenumbers=1, //use numbers
$prefix=''
)
{
//=============================================
// Copyright by www.vision.to
// Author: Femi Hasani
//=============================================
$key = $prefix;
// Seed random number generator
srand((double)microtime() * rand(1000000, 9999999));
$charset = "";
if ($uselower == 1) $charset .= "abcdefghijkmnopqrstuvwxyz";
if ($useupper == 1) $charset .= "ABCDEFGHIJKLMNPQRSTUVWXYZ";
if ($usenumbers == 1) $charset .= "0123456789";
if ($usespecial == 1) $charset .= "~#$%^*()_+-={}|][";
while ($length > 0) {
$key .= $charset[rand(0, strlen($charset)-1)];
$length--;
}
return $key;
}
?>

REGARDS TO ALL
View profile  Send private message
kirchaj

Posts: 215
Posted: 05/11/2007, 9:01 AM

Thanks 2467,

That is exactly what I was looking for. Thanks to all who responded as well. It is great to have a support mechanism such as this.


TK
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.