hello,
i create one zip archive via php and another zip archive via winrar, but from the same files.
size of two archives is different. the one via winrar is bigger (2 bytes).
why ? thanks.
OK NOW. zip was created correctly using php.
problem was that i was sending it using
header('Content-Type: application/zip');
header('Content-disposition: attachment; filename='.$name);
header('Content-Length: ' . filesize($name));
and dont have there ob_start();
and ob_end_clean();
that's why the size of file which come via header was different.. anyway thanks for your help ;)