Is there a way to know the size of the final zip file?
When I want to send the zip to a browser via
$zip->writeToFileHandle( 'STDOUT' );
I need to send a HTTP header before. In that header I want to put the Content-length. That is the reason why I need to know the size before I write it to STDOUT.
When I want to send the zip to a browser via
$zip->writeToFileHandle( 'STDOUT' );
I need to send a HTTP header before. In that header I want to put the Content-length. That is the reason why I need to know the size before I write it to STDOUT.