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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.