Jump to content

createing zip files with php


tomfmason

Recommended Posts

Quoted from www.php.net/zip:

[quote]
[b]PHP 4 Bundled[/b]
The initial version is bundled in PHP 4 and is available in PECL as version 1.0, see http://pecl.php.net/package/zip. It can only read Zip Archives.

[b]PECL and PHP 5.2 or later[/b]
The newest version is bundled in PHP 5.2.0 or later and available in PECL, as version 1.1.0 or later. It does not require any external library. It can read and write Zip archives when used with PHP 5.1 or later and can only read them when used with PHP4.[/quote]

That means- if you only want to be able to read zip files (being uploaded lets say), you can do it if you have PHP4 are greater. But if you want also to create zip archives, you'll need PHP5.1 or later.

Orio.

EDIT- Just saw the title of the topic, so I guess you need PHP5.1 or greater for that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.