ZipArchive::setPassword
Set the password for the active archive
Beschreibung
public bool ZipArchive::setPassword
( string $password
)
Parameter-Liste
-
password
-
The password to be used for the archive.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Anmerkungen
Hinweis:
This function only sets the password to be used to decompress the archive; it does not turn a non-password-protected ZipArchive into a password-protected ZipArchive.