>
>>
>> $fp = fopen(dirname($filename) . '/' . zip_entry_name($zip_entry), "w");
>>
>>
> thank you this worked. How come the . '/' . zip_entry_name($zip_entry) is
> needed? Looks like a double file name, but the result is ok. Could you
> explain this line?
read carefully, you'll understand too
Merlin Morgenstern wrote:
>
>
> Shawn McKenzie wrote:
>> Merlin Morgenstern wrote:
>>> 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) {
>>>
Shawn McKenzie wrote:
Merlin Morgenstern wrote:
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(z
Merlin Morgenstern wrote:
> 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_entr
4 matches
Mail list logo