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

ZipArchive::getArchiveComment

(no version information, might be only in CVS)

ZipArchive::getArchiveComment -- Returns the Zip archive comment

Описание

string ZipArchive::getArchiveComment ( void )

Returns the Zip archive comment.

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

Returns the Zip archive comment or FALSE on failure.

Примеры

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

<?php
$zip
= new ZipArchive;
$res = $zip->open('test_with_comment.zip')
if (
$res === TRUE) {
   
var_dump($zip->getArchiveComment());
   
/* Or using the archive property */
   
var_dump($zip->comment);
} else {
    echo
'failed, 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: 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