ZipArchive::addFile

 bool ZipArchive::addFile ( string $filename [, string $localname = NULL [, int $start = 0 [, int $length = 0 ]]] ) 

説明

Adds a file to a ZIP archive from a given path.

戻り値

Returns TRUE on success or FALSE on failure.