PHP Classes

PHP Randomly Generate String: Generate random string based on given parameters

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 98 All time: 9,731 This week: 208Up
Version License PHP version Categories
randomstring 1.0Shareware5PHP 5, Text processing


This class can generate random string based on given parameters.

It can take several parameters and returns a string encoded using UTF-8 with random characters that match the required of the specified parameters. Currently it can take parameters that define:

- Minimum and maximum numbers of characters to use in the string
- List of characters to use in the string, as well the minimum quantity of characters to return from the list

In Spanish:

Esta clase te permitira generar una cadena aleatoria, dando algunos parametros como:

- min y max numero de caracteres a usar en la cadena
- lista de caracteres a usar en la cadena, especificando el numero minimo de caracteres por lista
- el resultado final es codificado en el formato utf-8, asi la cadena se mostrara correctamente.

Picture of Roberto Sanchez
  Performance   Level  
Name: Roberto Sanchez <contact>
Classes: 1 package by
Country: Cuba Cuba
Age: ???
All time rank: 438814 in Cuba Cuba
Week rank: 703 Up4 in Cuba Cuba Up

  Files folder image Files  
File Role Description
Files folder imagelib (1 file)
Accessible without login Plain text file exampleRandomstring.php Example example for randomstring

  Files folder image Files  /  lib  
File Role Description
  Plain text file randomstring.class.php Class Class source file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,731
This week:208Up