PCLZIP_OPT_REMOVE_ALL_PATH
This argument gives the ability to suppress all the path of the file when extracting it or adding it in the archive.
With this argument it is not necessary to gives any path, and will sometimes simplify the use of PCLZIP_OPT_REMOVE_PATH. However this arguments must be carefully used, because if the tree arborescence is very deep, you must ensure that they will be no duplicate names (when the path is removed), specifically for the file extract.
PCLZIP_OPT_REMOVE_ALL_PATH arguments does not need any value.$list = $archive->create("data/file.txt images/image.gif",
PCLZIP_OPT_REMOVE_ALL_PATH);
// This will remove path 'data/' for file 'data/file.txt'
// and path 'images/' for file 'images/image.gif'This argument can be used with 'create()', 'add()', 'extract()' and 'extractByIndex()' methods.
| [Optional Arguments List] |




