SproutCMS

This is the code documentation for the SproutCMS project

function randStr()

Returns a string of random characters

Usage

string Security::randStr ( [ int $length [, mixed $chars ]] );

Arguments

  1. int $length = 16
  2. $chars = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890

Return value

  • string