How it works so far is it reads the contents of a zip file then returns info about the zip file and each file inside as an array, heres example output if you use:
PHP Code:
print_r(ListZip("htdocs.zip"));
Code:
Array
(
[comment] => Test
[comment_size] => 6
[entries] => 3
[disk_entries] => 3
[offset] => 3260
[size] => 175
[disk] => 0
[disk_start] => 0
[0] => Array
(
[filename] => url list.html
[filename_size] => 13
[stored_filename] => url list.html
[size] => 4106
[compressed_size] => 245
[mtime] => 1039342514
[comment] =>
[comment_size] => 0
[extra] =>
[extra_size] => 0
[folder] =>
[index] =>
[status] => ok
)
[1] => Array
(
[filename] => url_list.html
[filename_size] => 13
[stored_filename] => url_list.html
[size] => 128
[compressed_size] => 110
[mtime] => 1046749396
[comment] =>
[comment_size] => 0
[extra] =>
[extra_size] => 0
[folder] =>
[index] =>
[status] => ok
)
[2] => Array
(
[filename] => urltest.php
[filename_size] => 11
[stored_filename] => urltest.php
[size] => 10576
[compressed_size] => 2778
[mtime] => 1039751996
[comment] =>
[comment_size] => 0
[extra] =>
[extra_size] => 0
[folder] =>
[index] =>
[status] => ok
)
)