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

search for in the

ZipArchive::getCommentIndex> <ZipArchive::extractTo
Last updated: Fri, 14 Nov 2008

view this page in

ZipArchive::getArchiveComment

(No version information available, might be only in CVS)

ZipArchive::getArchiveCommentRetourne le commentaire de l'archive ZIP

Description

string ZipArchive::getArchiveComment ( void )

Retourne le commentaire de l'archive ZIP.

Valeurs de retour

Retourne le commentaire de l'archive ZIP ou FALSE si une erreur survient.

Exemples

Exemple #1 Extrait le commentaire de l'archive

<?php
$zip 
= new ZipArchive;
$res $zip->open('test_avec_commentaire.zip')
if (
$res === TRUE) {
    
var_dump($zip->getArchiveComment());
    
/* Ou en utilisant la propriété de l'archive */
    
var_dump($zip->comment);
} else {
    echo 
'échec, code:' $res;
}
?>


add a note add a note User Contributed Notes
ZipArchive::getArchiveComment
There are no user contributed notes for this page.

ZipArchive::getCommentIndex> <ZipArchive::extractTo
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites