File_SMBPasswd::unlock()

File_SMBPasswd::unlock() – Déverrouille un fichier smbpasswd

Synopsis

mixed File_SMBPasswd::unlock ( )

Description

Déverrouille le 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::unlock()

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

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

if (
PEAR::isError($status)) {
  
// gestion des erreurs
} else {
  
// continue le processus
}
  
?>
Verrouille le fichier smbpasswd (Previous) Sauvegarde le fichier smbpasswd (Next)
Last updated: Sun, 29 Aug 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.