|
|
(Next) File_SMBPasswd::getFile() |
||||
| |
|||||
|
|||||
mixed File_SMBPasswd::load (
)
Load the contents of smbpasswd file.
mixed - Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
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
}
?>
|
|
(Next) File_SMBPasswd::getFile() |
||||||||
| |
|||||||||
|
|||||||||