ZipArchive::renameName
    (no version information, might be only in CVS)
ZipArchive::renameName -- 名前を使用してエントリ名を変更する
説明
bool 
ZipArchive::renameName ( string name, string newname )
   名前を使用して、エントリ名を変更します。
  
パラメータ
   
- name
 
       名前を変更するエントリの名前。
      
- newname
 
       新しい名前。
      
 
  返り値
   成功した場合に TRUE を、失敗した場合に FALSE を返します。
  
例
例 1. エントリ名の変更 
<?php $zip = new ZipArchive; $res = $zip->open('test.zip') if ($res === TRUE) {     $zip->renameIndex('currentname.txt','newname.txt');     $zip->close(); } else {     echo '失敗、コード:' . $res; } ?>
 |  
  |