note 116848 added to ziparchive.setpassword
| From: | carlmcdade at gmail dot com | Date: | Tue, 10 Mar 2015 11:44:37 +0000 |
| Subject: | note 116848 added to ziparchive.setpassword | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201906@lists.php.net to get a copy of this message | ||
As noted earlier the method does not actually set a password. It enters the password to allow
decryption of the archive for reading.
It does not:
1) create an encrypted archive
2) allow the addition of encrypted files to the archive
3) read AES256 encryption/compression
4) throw catchable errors use $zip->getStatusString()
Hopefully someone will get around to fixing the doc to reflect all of this.
----
Server IP: 72.52.91.14
Probable Submitter: 77.12.149.92
----
Manual Page -- http://php.net/manual/en/ziparchive.setpassword.php
Edit -- https://master.php.net/note/edit/116848
Del: integrated -- https://master.php.net/note/delete/116848/integrated
Del: useless -- https://master.php.net/note/delete/116848/useless
Del: bad code -- https://master.php.net/note/delete/116848/bad+code
Del: spam -- https://master.php.net/note/delete/116848/spam
Del: non-english -- https://master.php.net/note/delete/116848/non-english
Del: in docs -- https://master.php.net/note/delete/116848/in+docs
Del: other reasons-- https://master.php.net/note/delete/116848
Reject -- https://master.php.net/note/reject/116848
Search -- https://master.php.net/manage/user-notes.php