Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

ZipArchive::getCommentIndex

(no version information, might be only in CVS)

ZipArchive::getCommentIndex -- Returns the comment of an entry using the entry index

Описание

string ZipArchive::getCommentIndex ( int index [, int flags] )

Returns the comment of an entry using the entry index.

Список параметров

index

Index of the entry

flags

If flags is set to ZIPARCHIVE::FL_UNCHANGED, the original unchanged comment is returned.

Возвращаемые значения

Returns the comment on success or FALSE on failure.

Примеры

Пример 1. Dump an entry comment

<?php
$zip
= new ZipArchive;
$res = $zip->open('test1.zip')
if (
$res === TRUE) {
   
var_dump($zip->getCommentIndex(1));
} else {
    echo
'failed, code:' . $res;
}
?>


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

ZipArchive::getCommentName> <ZipArchive::getArchiveComment
Last updated: Sat, 27 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571