UNB Components Code Reference

UnbSession::GeneratePassword method

Generates a new random password.

public static function UnbSession::GeneratePassword ($length = 12);

Parameters

length  –  optional, default: 12
(int) Length of the generated password in characters

Return value

(string) The generated password

Remarks

This password may use any printable ASCII characters.

Member of class: UnbSession

Implementation file: session.class.php, line 513

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.