Hi there,
I am trying to unzip a zip file. Therefore I am using this function:
# unzip a file
function extract_zipfile($filename){
$zip = zip_open($filename);
if ($zip) {
while ($zip_entry = zip_read($zip)) {
$fp = fopen(zip_entry_name($zip_entry), "w");
Hello!
This one :
http://www.phpclasses.org/browse.html/package/870.html
I remember doing the "zip" research a while ago and tested several classes
and
methods, but this class was the one that worked flawlessly! Ive installed
and
used this class myself, and it works on both linux and windows.
Th
tip, search php.net for zziplib
there are very useful hints and functions from other users..
i found there everything i needed, but a class is somewhat
bettersure.
regards,
volker
Raditha Dissanayake wrote:
For anyone playing around with zip files on a web application i hope
you h
For anyone playing around with zip files on a web application i hope you
have updated your zip libraries there were some vulnerabilities in it
recently.
Vincent M. wrote:
Kim Steinhaug wrote:
on phpclasses.org there is a ZIP class that does all you need to do.
Havnt got the time to give you th
Kim Steinhaug wrote:
on phpclasses.org there is a ZIP class that does all you need to do.
Havnt got the time to give you the url right now, but look there.
All I found are classes to extract tar/gzip files:
http://www.phpclasses.org/search.html?words=zip&go_search=1&restrict=&method=and&sort=score
Vincent --
...and then Vincent M. said...
%
% Hello,
Hi!
%
% Is there an easy way to unzip a zipped file which contains files
% (images), using a function from the zlib or any.
Absolutely. I love pclzip from phpconcept.net.
% To something like that:
%
% exec("unzip zipfile.zip -d /path/
on phpclasses.org there is a ZIP class that does all you need to do.
Havnt got the time to give you the url right now, but look there.
--
Kim Steinhaug
---
There are 10 types of people when it comes to binary numbers:
those who understan
Vincent M. wrote:
Hello,
Is there an easy way to unzip a zipped file which contains files
(images), using a function from the zlib or any.
To something like that:
exec("unzip zipfile.zip -d /path/to/images") ;
But without using the exec function.
Thanks,
Vincent.
You may want to check here...
Hello,
Is there an easy way to unzip a zipped file which contains files
(images), using a function from the zlib or any.
To something like that:
exec("unzip zipfile.zip -d /path/to/images") ;
But without using the exec function.
Thanks,
Vincent.
--
PHP General Mailing List (http://www.php.net/
9 matches
Mail list logo