$temp_dir = "/var/www/vhosts/websitename.co.nz/scheduled/temp/stemp/";
$file_path = "/home/ftparchive/photos.zip";
$archive = new PclZip($file_path);
if ($archive->create($temp_dir,PCLZIP_OPT_REMOVE_ALL_PATH) == 0)
{
... but in the zip file each file still shows a path value of: "stemp/"
Steve
Nobody/Anonymous ( nobody ) - 2009-09-08 04:33
5
Open
None
Vincent Blavet
PclZip Library
None
Public
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use