File_Passwd_Unix::setMode() -- Set encryption mode
Beschrijving
Set encryption mode to use.
Supported encryption modes are 'des' and 'md5'.
You can use the constants FILE_PASSWD_MD5 and FILE_PASSWD_DES for this purpose.
Parameter
- string
$mode
encryption mode to use
Return waarde
Geeft TRUE terug bij success,
PEAR_Error als het faalt.
Returns PEAR_Error
FILE_PASSWD_E_INVALID_ENC_MODE,
if supplied encryption mode is not supported.
Note
Deze functie kan niet statisch worden aangeroepen.