note 83580 added to function.ziparchive-extractto
| From: | tBone at osu1 dot php dot net | Date: | Tue, 03 Jun 2008 00:03:18 +0000 |
| Subject: | note 83580 added to function.ziparchive-extractto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140074@lists.php.net to get a copy of this message | ||
This function, at least from my experience, maintains/forces the directory structure within the ZIP
file.
ie. if you have FOLDER1/File1.txt in the zip file and you use
$zip->extractTo('/extract', 'FOLDER1/File1.txt');
the location of the extracted file will be:
/extract/FOLDER1/File1.txt
----
Server IP: 203.88.112.146
Probable Submitter: 203.56.213.2
----
Manual Page -- http://www.php.net/manual/en/function.ziparchive-extractto.php
Edit -- https://master.php.net/note/edit/83580
Del: integrated -- https://master.php.net/note/delete/83580/integrated
Del: useless -- https://master.php.net/note/delete/83580/useless
Del: bad code -- https://master.php.net/note/delete/83580/bad+code
Del: spam -- https://master.php.net/note/delete/83580/spam
Del: non-english -- https://master.php.net/note/delete/83580/non-english
Del: in docs -- https://master.php.net/note/delete/83580/in+docs
Del: other reasons-- https://master.php.net/note/delete/83580
Reject -- https://master.php.net/note/reject/83580
Search -- https://master.php.net/manage/user-notes.php