note 129235 added to ziparchive.addglob
| From: | hkn06tr at gmail dot com | Date: | Sat, 10 Feb 2024 18:02:04 +0000 |
| Subject: | note 129235 added to ziparchive.addglob | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221189@lists.php.net to get a copy of this message | ||
It is ok:
$zip->addGlob("*.*");
$zip->addGlob("library/*.*");
$zip->addGlob("library/*/*.[cpjthw]*");
$zip->addGlob("library/*/*/*.[cpjthw]*");
$zip->addGlob("library/*/*/*/*.[cpjthw]*");
$zip->addGlob("library/*/*/*/*/*.[cpjthw]*");
$zip->addGlob("library/*/*/*/*/*/*.[cpjthw]*");
Means all files recursively up to 5 level only those starting with cpjthw. (css php js txt etc) But
it may include jpg too because of being started with j.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.131 (proxied: 185.34.130.12)
----
Manual Page -- https://php.net/manual/en/ziparchive.addglob.php
Edit -- https://main.php.net/note/edit/129235
Del: integrated -- https://main.php.net/note/delete/129235/integrated
Del: useless -- https://main.php.net/note/delete/129235/useless
Del: bad code -- https://main.php.net/note/delete/129235/bad+code
Del: spam -- https://main.php.net/note/delete/129235/spam
Del: non-english -- https://main.php.net/note/delete/129235/non-english
Del: in docs -- https://main.php.net/note/delete/129235/in+docs
Del: other reasons-- https://main.php.net/note/delete/129235
Reject -- https://main.php.net/note/reject/129235
Search -- https://main.php.net/manage/user-notes.php