Menu

#19 file path not removed

open
5
2009-09-08
2009-09-08
Anonymous
No

$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

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.