PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Hossam Suliman   Random Secure Password   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of class usage
Class: Random Secure Password
Generate a random text from lists of characters
Author: By
Last change:
Date: 12 years ago
Size: 308 bytes
 

Contents

Class file image Download
<?php

/**
 * Example of RandomSecurePassword class usage.
 *
 * @author Hossamzee (hossam_zee@yahoo.com).
 * @date 11 April 2012.
 */
 
require_once("./random.secure.password.class.php");

/* Usage of RandomSecurePassword class. */
$password = RandomSecurePassword::generate();
echo
$password;