zip via php has different size as via winrar

rarusfisio

New Member
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 \[code\]header('Content-Type: application/zip');header('Content-disposition: attachment; filename='.$name);header('Content-Length: ' . filesize($name));\[/code\]and dont have there \[code\]ob_start();\[/code\] and \[code\]ob_end_clean();\[/code\] that's why the size of file which come via header was different.. anyway thanks for your help ;)
 
Top