|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
|
| |
File_SMBPasswd::load()File_SMBPasswd::load() -- load the contents of an existing smbpasswd file Description
Load the contents of smbpasswd file.
Return value
mixed - Returns TRUE on success,
PEAR_Error on failure.
NoteThis function can not be called
statically. ExampleExample 30-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
}
?> |
|
|
|
|
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|