i'm having a very annoying problem here. I am making the back office part of a client's website that has a zip file creation function.
the zip is created well but when unzipping, i get a very annoying .cpgz file which, when opened, gives me another zip file that also contains a cpgz file... in other words : a disaster
i have been searching through the net to find a solution or a lead but found none.
has anyone an idea as to what the problem could be ?
i'm using ubuntu jaunty 9.04 and the zip command through a php script
code is below, and the zip file attached
$zipRemoteFileName = "/var/www/teleskiDev/tmp/teleski" . $date . ".zip";
$zipLocalFileName = "teleski" . $date . ".zip";
$zipCommand = "sudo -u root zip -r $zipRemoteFileName ";