File_SMBPasswd::load() -- load the contents of an existing smbpasswd file
Beschreibung
Load the contents of smbpasswd file.
Rückgabewert
mixed - Gibt bei Erfolg TRUE zurück, bei einem Fehler
ein Objekt der Klasse PEAR_Error.
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.
Beispiel
Beispiel 39-1. Using File_SMBPasswd::load() <?php
require_once('File/SMBPasswd.php');
$fh = new File_SMBPasswd('/usr/local/private/smbpasswd');
$status = $fh->load();
if (PEAR::isError($status)) {
// handle errors
} else {
// continue processing
}
?> |
|