removeProtection

removeProtection

PREMIUM BASIC / ADVANCED

Removes the password protection from a Word document.

Description
public removeProtection (string $source, string $target)

This method allows you to remove the protection from a password protected Word document.

You may find a detailed description of this package in the cryptophpdocx section of the API documentation.

Parameters

source

Path to the password protected Word document.

target

Path where you want to save the resulting unprotected document.

Return values

Void.

Code samples

Example #1