PHP Zip File Function

PHP Zip File সমীক্ষা

কম্প্রেসড ফাইল ফাংশনগুলি আমাদের কম্প্রেসড ফাইল পড়ার অনুমতি দেয়

ইনস্টল

সার্ভারে Zip File ফাংশন চালাতে, এই লাইব্রেরি ইনস্টল করা আবশ্যক

লিনাক্স সিস্টেমে ইনস্টল করুন

PHP 5+:Zip ফাংশন এবং Zip লাইব্রেরি ডিফল্টভাবে সক্রিয় করা হবে না, উপরের লিঙ্ক থেকে ডাউনলোড করুন। ব্যবহার করুন --with-zip=DIR জিপ সমর্থন শামিল করার জন্য কনফিগারেশন অপশন

ওয়ান্ডোজ সিস্টেমে ইনস্টল করুন

PHP 5+:The Zip function is not enabled by default, and php_zip.dll and ZZIPlib library must be downloaded from the above link. php_zip.dll must be enabled within php.ini.

To enable any PHP extension, the PHP extension_dir setting (in the php.ini file) should be set to the directory where the PHP extension is located. For example, the value of extension_dir may be c:\php\ext.

PHP Zip File Function

PHP:Indicates the earliest PHP version that supports this function.

Function Description PHP
zip_close() Close the ZIP file. 4
zip_entry_close() Close an item in the ZIP file. 4
zip_entry_compressedsize() Return the compressed size of an item in the ZIP file. 4
zip_entry_compressionmethod() Return the compression method of an item in the ZIP file. 4
zip_entry_filesize() Return the actual file size of an item in the ZIP file. 4
zip_entry_name() Return the name of an item in the ZIP file. 4
zip_entry_open() Open an item in the ZIP file for reading. 4
zip_entry_read() Read an open item in the ZIP file. 4
zip_open() Open a ZIP file. 4
zip_read() Read the next item in the ZIP file. 4

PHP Zip File Constants

None.