[PHP] 7zip extension available

2008-01-04 Thread ecc
Hi, i´ve searched a little bit, but found no page talking about an 7zip (.7z) extension for php. Is there an way to extract data from 7zip archives from within an php script? Thank you for your help! -- View this message in context:

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-16 Thread ecc
. If i think, this is an bug, where can i add this? Regards, Andreas ecc wrote: Ah, fine. How do i use this ZIPARCHIVE::CHECKCONS flag? Something like that should work, i think? $zip = new ZipArchive; $res = $zip-open ( $filename ZIPARCHIVE::CHECKCONS ); if (TRUE === $res

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-15 Thread ecc
# ZIPARCHIVE::ER_SEEK } Richard Lynch wrote: On Tue, August 14, 2007 5:42 am, ecc wrote: i´m reading zip-files with the php zip-functions without a problem. Now i got and Zip containing an corrupt crc (If i open this file via winzip, the error is shown). It looks like the php functions

[PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread ecc
Hi @all, i´m reading zip-files with the php zip-functions without a problem. Now i got and Zip containing an corrupt crc (If i open this file via winzip, the error is shown). It looks like the php functions for zip-handeling zip_entry_read and ZipArchive::getFrom... do not quit on a bad crc

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread ecc
can post the corrupt zip, so somebody can try it :-) Thank you for your idea. Andreas Sanjeev N wrote: Use error handling function for time being and exit from the loop where control going in the loop. On 8/14/07, ecc [EMAIL PROTECTED] wrote: Hi @all, i´m reading zip-files

[PHP] file_get_contents crash, if file is bigger than memory_limit

2007-06-24 Thread ecc
I really dont know, if this is the right board for this... but i think, i have to write it down. Please throw an error, if file_get_contents cant read a file because memory_limit overflow! I´ve programmed a tool parsing checksums from large files. Because i have to manage header-offsets, i have

Re: [PHP] Strange Fatal Error Possibly Memory

2007-06-24 Thread ecc
Maybe this is an error/exception in the exception handeler... :-) Sometimes we had this error in these cases! -- View this message in context: http://www.nabble.com/Strange-Fatal-Error-Possibly-Memory-tf3960349.html#a11273616 Sent from the PHP - General mailing list archive at Nabble.com. --