tomfmason Posted August 31, 2006 Share Posted August 31, 2006 I thought that phpfreaks had a tutorial for this but I am unable to find it. Does anyone else know the link? Quote Link to comment https://forums.phpfreaks.com/topic/19234-createing-zip-files-with-php/ Share on other sites More sharing options...
Daniel0 Posted August 31, 2006 Share Posted August 31, 2006 http://php.net/zip if you got PHP5.1 or later. Quote Link to comment https://forums.phpfreaks.com/topic/19234-createing-zip-files-with-php/#findComment-83299 Share on other sites More sharing options...
tomfmason Posted August 31, 2006 Author Share Posted August 31, 2006 I have PHP5.0.5 . I think that I need a tutorial. Because I am developing a script that will be used by other people that may have older versions of php. I could have sworn that phpfreaks had a tutorial for this. Quote Link to comment https://forums.phpfreaks.com/topic/19234-createing-zip-files-with-php/#findComment-83325 Share on other sites More sharing options...
Orio Posted August 31, 2006 Share Posted August 31, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19234-createing-zip-files-with-php/#findComment-83335 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.