I am looking for some good light weight zip libraries and the ZipArchive class in the PHP manual seems pretty good. http://sg.php.net/manual/en/ref.zip.php
But I can't get it work. It keeps saying the class is invalid. Do I need anything for the ZipArchive to work?

If it still doesn't work then I will have to use the zip library in PEAR.

thanks.