RE: [PHP-WIN] Password generator

2003-06-18 Thread Svensson, B.A.T. (HKG)
Create a string which is six char long, (for instance shop the head and tail of the first string if you are not able to generate a six char string) If you chop an 8 char string and MUST have the special chars in the string then check that the chopped char's is not a memember of the special char's

Re: [PHP-WIN] Password generator

2003-06-17 Thread toby z
and how did you accomplish that ? toby --- Davy Obdam <[EMAIL PROTECTED]> wrote: > Thanks for you reactions people, i have found the solution > > Best regards, > > Davy Obdam > > Met vriendelijke groeten uit Den Haag;-) > > Daniel Beulshausen wrote: > > > At 11:45 17.06.2003 +0200, Davy

Re: [PHP-WIN] Password generator

2003-06-17 Thread toby z
and how did you accomplish that ? toby --- Davy Obdam <[EMAIL PROTECTED]> wrote: > Thanks for you reactions people, i have found the solution > > Best regards, > > Davy Obdam > > Met vriendelijke groeten uit Den Haag;-) > > Daniel Beulshausen wrote: > > > At 11:45 17.06.2003 +0200, Davy

Re: [PHP-WIN] Password generator

2003-06-17 Thread Davy Obdam
Thanks for you reactions people, i have found the solution Best regards, Davy Obdam Met vriendelijke groeten uit Den Haag;-) Daniel Beulshausen wrote: At 11:45 17.06.2003 +0200, Davy Obdam wrote: Hi people, I have to make a password generator, but i have a little problem. - It needs to gene

Re: [PHP-WIN] Password generator

2003-06-17 Thread Luis Moreira
Have you tried to insert an "IF" statement, checking if the index on the "FOR" cycle is equal to "1" or to the last possible value ? :-) - Original Message - From: "Davy Obdam" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN" <[EMAIL PROTECTED]>; "PHP-DB" <[EMAIL PROTECTED]>

Re: [PHP-WIN] Password generator

2003-06-17 Thread Daniel Beulshausen
At 11:45 17.06.2003 +0200, Davy Obdam wrote: Hi people, I have to make a password generator, but i have a little problem. - It needs to generate password 8 characters long, and including 1 or 2 special characters(like #$%&*@). - Those special characters can never appear as the first or last char