(PHP 5 >= 5.6.0, PECL zip >= 1.12.4)
ZipArchive::setPassword — Set the password for the active archive
$password
)Sets the password for the active archive.
password
The password to add to the archive.
Restituisce TRUE
in caso di successo, FALSE
in caso di fallimento.