Under XP, full paths are retained...
Brought to you by:
vblavet
Under XP, I'm trying to create a xip file, using the
PCLZIP_OPT_REMOVE_PATH option.
When I try to extract it, the full path (from c:) is in zip file
and I cannot be restored fine.
Under MacOS X and linuz it seems to work fine !!
I've attached an zip file generated under XP (not working)
and a zip file generated under MacOS X.
Ciao, Eloy.
Generated with XP
Generated with MacOS X
Logged In: YES
user_id=196616
hmmm
$zipfiles = $myzip->add("path11/path22/file.txt",
PCLZIP_OPT_ADD_PATH, "newfolder",
PCLZIP_OPT_REMOVE_PATH, "path11/");
makes: newfolder/path22/...