Hi,
I'm using pkzip (NT4,PHP4.0.4,IIS) to zip multiple files into a zipfile. Creation of the zipfile (C:/temp/test.zip) goes fine, but if I want to add a file to this zipfile it is not doing anthing.
The $returnstring is always empty.
My code:
exec("D:/home/shared/install/zip32/pkzip25.exe -add C:/temp/test.zip d:/home/www/www.site.nl/htdocs/files/Cp000010.eps", $returnstring, $returnvar);
print "Return var: ".$returnvar."<BR>\r\n";
print "Printing output ".count($returnstring)." lines:<BR>\r\n";
print "<PRE>\r\n";
while (list($line, $text) = each($returnstring))
{
print "[$line] $text<BR>\r\n";
}
print "</PRE>\r\n";