ZipArchive::setEncryptionIndex
Set the encryption method of an entry defined by its index
Beschreibung
bool
ZipArchive::setEncryptionIndex
( int $index
, string $method
[, string $password
] )
Parameter-Liste
-
index
-
Index of the entry.
-
method
-
The encryption method defined by one of the ZipArchive::EM_ constants.
-
password
-
Optional password, default used when missing.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- ZipArchive::setPassword
- ZipArchive::setEncryptionName