ZipArchive::setPassword
ZipArchive::setPassword
(PHP 5 >= 5.6.0, PHP 7, PECL zip >= 1.12.4)
ZipArchive::setPassword — Set the password for the active archive
Description
public bool ZipArchive::setPassword ( string $password )
Sets the password for the active archive.
Parameters
-
password
-
The password to be used for the archive.