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 Vincent  >  Password Generate  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Password Generate
Generate random passwords with given criteria
Author: By
Last change:
Date: 9 years ago
Size: 379 bytes
 

Contents

Class file image Download
<?
include 'class.password.php';

// default is 10 character lentth
$pas = new password();
// generate password include uppercase, lowercase & number
echo $pas->generate() . '<br>';
// generate password not include lowercase
$pas->lowercase false;
echo 
$pas->generate() . '<br>';
// generate password include spec char
$pas->specchar true;
echo 
$pas->generate() . '<br>';
?>