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 605

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.