ConFoo Montreal 2026: Call for Papers

Voting

: min(three, five)?
(Example: nine)

The Note You're Voting On

barbarinasv at interfree dot it
19 years ago
Function zip_entry_read() written by "bisqwit at iki dot fi" has to be modified to read entire files:

<?php
function zip_entry_read(&$res, $nbytes) {
while (!
feof($res['fp'])) {
$contents .= fread($res['fp'], $nbytes);
}
return
$contents;
}
?>

<< Back to user notes page

To Top