[PHP] unzip a file - destination folder wrong

2009-04-23 Thread Merlin Morgenstern
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");

Re: [PHP] Unzip a file.

2003-11-17 Thread Kim Steinhaug
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

Re: [PHP] Unzip a file.

2003-11-17 Thread volker at multiartstudio dot de
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

Re: [PHP] Unzip a file.

2003-11-17 Thread Raditha Dissanayake
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

Re: [PHP] Unzip a file.

2003-11-16 Thread Vincent M.
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

Re: [PHP] Unzip a file.

2003-11-16 Thread David T-G
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/

Re: [PHP] Unzip a file.

2003-11-16 Thread Kim Steinhaug
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

Re: [PHP] Unzip a file.

2003-11-15 Thread John Nichel
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...

[PHP] Unzip a file.

2003-11-15 Thread Vincent M.
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/