PHP Class zipfile, php-malware-finder

.. use the functions add_dir() and add_file() to build the zip file; see example code below by Eric Mueller http://www.themepark.com v1.1 9-20-01 - added comments to example v1.0 2-5-01 initial version with: - class appearance - add_file() and file() methods - gzcompress() output hacking by Denis O.Philippov, [email protected], http://www.atlant.ru official ZIP file format: http://www.pkware.com/appnote.txt
Afficher le fichier Open project: nbs-system/php-malware-finder Class Usage Examples

Méthodes publiques

Свойство Type Description
$ctrl_dir
$datasec
$eof_ctrl_dir
$old_offset

Méthodes publiques

Méthode Description
addFile ( $data, $name, $time )
file ( )
unix2DosTime ( $unixtime )

Method Details

addFile() public méthode

public addFile ( $data, $name, $time )

file() public méthode

public file ( )

unix2DosTime() public méthode

public unix2DosTime ( $unixtime )

Property Details

$ctrl_dir public_oe property

public $ctrl_dir

$datasec public_oe property

public $datasec

$eof_ctrl_dir public_oe property

public $eof_ctrl_dir

$old_offset public_oe property

public $old_offset