Hello,
I'm trying to write the contents of a zip file to disk. Unfortunately
the script creates zero length files. The problem has to be with
zip_entry_read below...
$zipFile = zip_open($uploadFile);
$zipEntry = zip_read($zipFile)
$filePointer = fopen($outputXLSFile, 'w+b');
$fileBuffer = zip_entry_read($zipEntry,
zip_entry_filesize($zipEntry));
fwrite($filePointer, $fileBuffer);
fclose($filePointer);
Thoughts?
Thanks in advance!
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php