Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Peter Molefe Ramokone  >  Password Generator  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Password Generator
Generate random alphanumeric passwords
Author: By
Last change:
Date: 2005-07-01 03:10
Size: 2,268 bytes
 

Contents

Class file image Download
<?php
require("class.password.generator.php");
?>
<pre>
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------------------------------------

NUMBER PASSWORD (length=10): <?=@$DOZPASSGEN->genPassword('int',10);?>  - Exmple: $DOZPASSGEN->genPassword('int',10);        
        OR
NUMBER PASSWORD (length=10): <?=@$DOZPASSGEN->genPassword('int',10);?>  - Exmple: $DOZPASSGEN->genPassword('integer',10);
        
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
----------------------------------------------------------------------------------------------------------

STRING PASSWORD (length=10): <?=@$DOZPASSGEN->genPassword('str',10);?>  - Exmple: $DOZPASSGEN->genPassword('str',10);                
        OR
STRING PASSWORD (length=10): <?=@$DOZPASSGEN->genPassword('string',10);?>  - Exmple: $DOZPASSGEN->genPassword('string',10);        

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||                        
------------------------------------------------------------------------------------------------------------

MIX    PASSWORD (length=10): <?=@$DOZPASSGEN->genPassword('mix',10);?>  - Exmple: $DOZPASSGEN->genPassword('mix',10);                                         
        OR
MIXED  PASSWORD (length=10): <?=@$DOZPASSGEN->genPassword('mixed',10);?>  - Exmple: $DOZPASSGEN->genPassword('mixed',10);        
                                        
-----------------------------------------------------------------------------------------------------------
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

DEFAULT    PASSWORD (length=10): <?=$DOZPASSGEN->genPassword();?>        -     Exmple: $DOZPASSGEN->genPassword();    
-----------------------------------------------------------------------------------------------------------
                Good Luck!!
----------------------------------------------------------------------------------------------------------
            <a href="mailto:ramokonep@tut.ac.za?subject=Password_Generator_Class">Email me</a>
---------------------------------------------------------------------------------------------------------
</pre>