note 116705 added to ziparchive.addglob

From: Date: Fri, 13 Feb 2015 12:52:33 +0000
Subject: note 116705 added to ziparchive.addglob
Groups: php.notes 
Request: Send a blank email to php-notes+get-201725@lists.php.net to get a copy of this message
Doesn't work with the following options: $options = array('remove_all_path' => TRUE); $zipArchive->addGlob($path."/*", GLOB_BRACE, $options); The full path to file is adding to the archive. Works well if: $options = array('add_path' => './','remove_all_path' => TRUE); ---- Server IP: 72.52.91.14 Probable Submitter: 93.77.221.152 ---- Manual Page -- http://php.net/manual/en/ziparchive.addglob.php Edit -- https://master.php.net/note/edit/116705 Del: integrated -- https://master.php.net/note/delete/116705/integrated Del: useless -- https://master.php.net/note/delete/116705/useless Del: bad code -- https://master.php.net/note/delete/116705/bad+code Del: spam -- https://master.php.net/note/delete/116705/spam Del: non-english -- https://master.php.net/note/delete/116705/non-english Del: in docs -- https://master.php.net/note/delete/116705/in+docs Del: other reasons-- https://master.php.net/note/delete/116705 Reject -- https://master.php.net/note/reject/116705 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201725) next »