previousFile_SMBPasswd::File_SMBPasswd() (Previous) (Next) File_SMBPasswd::getFile()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_SMBPasswd::load()

File_SMBPasswd::load() – Charge le contenu d'un fichier smbpasswd existant

Synopsis

mixed File_SMBPasswd::load ( )

Description

Charge le contenu d'un fichier smbpasswd.

Return value

mixed - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

Example

Exemple avec File_SMBPasswd::load()

<?php
require_once('File/SMBPasswd.php');

$fh     = new File_SMBPasswd('/usr/local/private/smbpasswd');
$status $fh->load();

if (
PEAR::isError($status)) {
  
// gestion des erreurs
} else {
  
// continue le processus
}
  
?>
previousFile_SMBPasswd::File_SMBPasswd() (Previous) (Next) File_SMBPasswd::getFile()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.