Bantuan Pencarian :   
Home arrow Artikel arrow Web Programming arrow PHP arrow PHP Zip File Function
PHP Zip File Function PDF Cetak E-mail
(6 votes)
Ditulis Oleh oscorp   
Thursday, 16 April 2009
PHP Zip File Function adalah Fungsi PHP yang memungkinkan Anda untuk membaca file ZIP. Supaya PHP Zip File Function dapat bekerja pada server anda, anda harus mengistall library berikut ini :

The ZZIPlib library by Guido Draheim: Download the ZZIPlib library
The Zip PELC extension: Download the Zip PELC extension

Installation on Linux Systems

PHP 5 +: Zip fungsi ini tidak diaktifkan secara default, sehingga  harus download dari link di atas. Gunakan - with-zip = DIR mengkonfigurasi opsi untuk menyertakan dukungam Zip.

Instalasi pada Windows Systems

PHP 5 +: Zip fungsi ini tidak diaktifkan secara default, sehingga  harus download dari link di atas. php_zip.dll harus diaktifkan dari dalam php.ini.

Untuk mengaktifkan ekstensi PHP apapun, maka pengaturan PHP extension_dir (pada file php.ini) harus ditetapkan ke direktori dimana PHP extension berada. Contoh extension_dir nilai adalah c: \ php \ ext.

PHP Zip File Functions

PHP: awal menunjukkan versi PHP yang mendukung fungsi

Function                                     Description                                                                              PHP
zip_close()                                   Closes a ZIP file                                                                            4
zip_entry_close()                         Closes an entry in the ZIP file                                                        4
zip_entry_compressedsize()          Returns the compressed size of an entry in the ZIP file                   4
zip_entry_compressionmethod()   Returns the compression method of an entry in the ZIP file            4
zip_entry_filesize()                       Returns the actual file size of an entry in the ZIP file                        4
zip_entry_name()                        Returns the name of an entry in the ZIP file                                    4
zip_entry_open()                        Opens an entry in the ZIP file for reading                                       4
zip_entry_read()                         Reads from an open entry in the ZIP file                                         4
zip_open()                                 Opens a ZIP file                                                                              4
zip_read()                                  Reads the next entry in a ZIP file                                                      4

 

 

» No Comments
There are no comments up to now.
» Post Comment
Email (will not be published)
Name
Title
Comment
 
Berikutnya >

Donate Via Paypal

Enter Amount:

Online

Saat ini ada 41 tamu online
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday135
mod_vvisit_counterYesterday265
mod_vvisit_counterThis week1179
mod_vvisit_counterThis month675
mod_vvisit_counterAll109407

Page Rank


PageRank
Add to Google
Computer Blogs - BlogCatalog Blog Directory