You are here: Re: password generation « PHP Language « IT news, forums, messages
Re: password generation

Posted by Geoff Berrow on 11/09/11 11:18

I noticed that Message-ID:
<33c3f$42a988df$d52e9932$13341@news.chello.nl> from bebbet contained the
following:

>function createpass($chars) {
> $array ("","0","1" etc.....
> while ($i != ($chars+1)) {
> $pass .= rand(1,36);
> $i++;
> return $pass;
> }
>}
>
>then use it like this:
>
>createpass([length chars]);

I was asked to write a random password generator that created up to 2000
memorable passwords. I used an array of syllables
www.ckdog.co.uk/dev/randpass.php

Of course you have to be a bit careful you don't use syllables that can
be combined in - ah - unfortunate combinations.

On the other hand you might, just for fun, deliberately do that. I'd
probably name such a file randpasrude dot php - if it existed. ;-)


--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация