BookGlutton core epub read/write class in PHP. This standalone PHP class for the Epub (OEBPS 2.0) format has been battle-tested with over 20 publishers, including O'Reilly Media. Use it to do conversions from HTML, OPS filesystem manipulation, or direct zip container manipulation.
Notice: Undefined variable: path in BookGluttonZipEpub.php on line 62
It appears that on that line it should be:
$this->log('ncx '.$this->opfroot . '/' . $this->ncxpath.' not located');
instead of
$this->log('ncx '.$path . '/' . $this->ncxpath.' not located');