note 124649 added to ziparchive.getfromname
| From: | masterboreq at gmail dot com | Date: | Sun, 26 Jan 2020 20:33:29 +0000 |
| Subject: | note 124649 added to ziparchive.getfromname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213961@lists.php.net to get a copy of this message | ||
When passing to the method explicit string which contains a relative path (inside the ZIP archive),
e.g. 'path/to/file.php/' please make sure you used single quotation mark (') not the
double one ("). Double quotation mark produce FALSE (at least at Windows machine) giving no
further hints what gone wrong.
Also, please make sure that the path delimiters used inside your ZIP file is backslash or forward
slash since it's make a difference in this place too.
I hope I saved you a headache while working with this (so far) unmentioned "feature" :)
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.172 (proxied: 89.74.231.128)
----
Manual Page -- http://php.net/manual/en/ziparchive.getfromname.php
Edit -- https://master.php.net/note/edit/124649
Del: integrated -- https://master.php.net/note/delete/124649/integrated
Del: useless -- https://master.php.net/note/delete/124649/useless
Del: bad code -- https://master.php.net/note/delete/124649/bad+code
Del: spam -- https://master.php.net/note/delete/124649/spam
Del: non-english -- https://master.php.net/note/delete/124649/non-english
Del: in docs -- https://master.php.net/note/delete/124649/in+docs
Del: other reasons-- https://master.php.net/note/delete/124649
Reject -- https://master.php.net/note/reject/124649
Search -- https://master.php.net/manage/user-notes.php