Class zipfile
package::i.tools
php-downloader v1.0 - www.ipunkt.biz
(c) 2002 - www.ipunkt.biz (rok)
Zip file creation class. Makes zip files.
Based on : http://www.zend.com/codex.php?id=535&single=1 By Eric Mueller eric@themepark.com http://www.zend.com/codex.php?id=470&single=1 by Denis125 webmaster@atlant.ru a patch from Peter Listiak mlady@users.sourceforge.net for last modified date and time of the compressed file
Official ZIP file format: http://www.pkware.com/appnote.txt
public
integer
|
#
unix2DosTime( integer $unixtime = 0 )
Converts an Unix timestamp to a four byte DOS date and time format (date in high two bytes, time in low two bytes allowing magnitude comparison). |
public
|
|
public
string
|
public
array
|
$datasec
Array to store compressed data |
#
array()
|
public
array
|
$ctrl_dir
Central directory |
#
array()
|
public
string
|
$eof_ctrl_dir
End of central directory record |
#
"\x50\x4b\x05\x06\x00\x00\x00\x00"
|
public
integer
|
$old_offset
Last offset position |
#
0
|