File_SMBPasswd::unlock() -- unlock the smbpasswd file
Beschrijving
unlock the smbpasswd file.
Return waarde
mixed - Geeft TRUE terug bij success,
PEAR_Error als het faalt.
Note
Deze functie kan niet statisch worden aangeroepen.
Voorbeeld
Voorbeeld 39-1. Using File_SMBPasswd::unlock() <?php
require_once('File/SMBPasswd.php');
$fh = new File_SMBPasswd('/usr/local/private/smbpasswd');
$status = $fh->unlock();
if (PEAR::isError($status)) {
// handle errors
} else {
// continue processing
}
?> |
|