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
Exibir arquivo Open project: nbs-system/php-malware-finder Class Usage Examples

Public Properties

Property Type Description
$ctrl_dir
$datasec
$eof_ctrl_dir
$old_offset

Public Methods

Method Description
addFile ( $data, $name, $time )
file ( )
unix2DosTime ( $unixtime )

Method Details

addFile() public method

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

file() public method

public file ( )

unix2DosTime() public method

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