Helping ordinary people create extraordinary websites!


File_Passwd_Authdigest::addUser()

File_Passwd_Authdigest::addUser() -- Add an user

Description

Add an user to the AuthDigestFile.

$user and $realm must start with an alphabetical charachter and must NOT contain any other characters than alphanumerics, the underline and dash.

Parameter

string $user

the user to add

string $realm

the realm the user should be in

string $pass

the plaintext password

Note

This function can not be called statically.