You are here: Re: ZipArchive ER_NOZIP « PHP Programming Language « IT news, forums, messages
Re: ZipArchive ER_NOZIP

Posted by petersprc on 09/21/07 05:42

Could be a 64-bit file size issue. You could exec unzip instead if you
didn't mind calling out to the shell.

I haven't verified it, but could it be the ftell/fseek calls in
zip_open.c should be replaced with ftello/fseeko on linux and
_filelengthi64/fsetpos/fgetpos on windows?

On Sep 20, 3:57 pm, ChronoFish <d...@chronofish.com> wrote:
> Hello,
>
> I can successfully open and explore zip files using the ZipArchive
> class provided by PHP 5.2.1, but I get an ER_NOZIP error when opening
> large zip files. At least that appears to be the issue.
>
> The zip files in question are over 2GB. The zip file is created with
> the latest version of 7zip using the -tzip command line handle, and it
> is readable by both 7zip and "Compressed File" that's built into Win-
> XP (though the latter is painfully slow).
>
> Has anyone had this problem, and if so, what is the work around?
>
> Thanks!
> -CF

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация