PHP Doku:: Set owner and user passwords for the document - function.harudoc-setpassword.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenHaru PDFThe HaruDoc classHaruDoc::setPassword

Ein Service von Reinhard Neidl - Webprogrammierung.

The HaruDoc class

<<HaruDoc::setPagesConfiguration

HaruDoc::setPermission>>

HaruDoc::setPassword

(PECL haru >= 0.0.1)

HaruDoc::setPasswordSet owner and user passwords for the document

Beschreibung

bool HaruDoc::setPassword ( string $owner_password , string $user_password )

Defines owner and user passwords for the document. Setting the passwords makes the document contents encrypted.

Parameter-Liste

owner_password

The password of the owner, which can change permissions of the document. Empty password is not accepted. Owner's password cannot be the same as the user's password.

user_password

The password of the user. Can be empty.

Rückgabewerte

Returns TRUE on success.

Fehler/Exceptions

Throws a HaruException on error.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)