downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

zip_entry_read> <zip_entry_name
Last updated: Fri, 13 Nov 2009

view this page in

zip_entry_open

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)

zip_entry_openOkumak için bir dizin girdisi açar

Açıklama

bool zip_entry_open ( resource $zip , resource $zip_girdisi [, string $kip ] )

Bir zip dosyasında okumak için bir dizin girdisi açar.

Değiştirgeler

zip

zip_open() ile döndürülmüş geçerli bir dosya tanıtıcısı.

zip_girdisi

zip_read() ile döndürülmüş bir dizin girdisi.

kip

fopen() belgesinde belirtilen kiplerden biri.

Bilginize: Normalde, kip yoksayılıp daima "rb" kipi kullanılır. Bunun sebebi PHP'deki zip desteğinin sadece okuma erişimi sağlamasıdır.

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.

Bilginize: fopen() ve benzerlerinen aksine, zip_entry_open() işlevinin dönüş değeri sadece işlemin sonucunu gösterir ve dizin girdisini okumak veya kapatmak için gerekli değildir.

Ayrıca Bakınız



add a note add a note User Contributed Notes
zip_entry_open
jrhodes at roket-productions dot com
26-Nov-2008 11:21
'rb' is a valid mode, and means Read-Only Binary Mode.  This mode is used for portability reasons (see fopen).
Anonymous
11-May-2008 01:14
Note: Currently, mode  is ignored and is always "rb". This is due to the fact that zip support in PHP is read only access.

"rb" is not a mode. Must be "r"

zip_entry_read> <zip_entry_name
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites