Thread: PHP zip
View Single Post
Old 02-20-2003, 09:17 AM   #5 (permalink)
Zoist
Registered User
 
Zoist's Avatar
 
Join Date: Feb 2003
Posts: 6
Zoist is on a distinguished road
Here is the snip of code that does the job in perl. I had to get a little help with this one.

It can be tweaked to be put in a Web setup.

Code:
#!/usr/bin/perl

my $output=`/usr/bin/unzip -l zipname.zip `;
print "<pre>\n$output\n</pre>";
}
Zoist is offline   Reply With Quote