downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<HaruDoc::setPagesConfigurationHaruDoc::setPermission>
Last updated: Thu, 26 Jun 2008

HaruDoc::setPassword

(PECL haru:0.0.1)

HaruDoc::setPassword — Set owner and user passwords for the document

Description

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.

Parameters

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.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws HaruException on error.



add a noteadd a note User Contributed Notes
Set owner and user passwords for the document
There are no user contributed notes for this page.




<HaruDoc::setPagesConfigurationHaruDoc::setPermission>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs