PHP Classes

class don't work correctly

Recommend this page to a friend!

      PassGen  >  All threads  >  class don't work correctly  >  (Un) Subscribe thread alerts  
Subject:class don't work correctly
Summary:bug
Messages:2
Author:Jaroslav
Date:2010-08-30 12:20:06
Update:2010-08-31 12:27:53
 

 


  1. class don't work correctly   Reply   Report abuse  
Picture of Jaroslav Jaroslav - 2010-08-30 12:20:13
$pass->mkPassword(12, true, true, true);
and result is 8 chars without numbers

  2. Re: class don't work correctly   Reply   Report abuse  
Picture of Ricardo Ricardo - 2010-08-31 12:27:53 - In reply to message 1 from Jaroslav
The correct syntax is:
$objPass = new PassGen(lenght password, if use upper and lower letters, if use numbers, if repeat letters);

$pass = $objPass->mkPassword();

 
For more information send a message to info at phpclasses dot org.