<snip>

>
>>
>> $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?

</snip>

read carefully, you'll understand too. :)

its extracting the directory name with the  dirname($filename) then
concatenation with the name of zip file only :)

regards

Lenin

www.twitter.com/nine_L

Reply via email to