PHPを使用すると、次のファイルのリストが得られます。
new ZipArchive();
zipファイルに入っているということです。
ファイルリストは次のとおりです。
- ドキュメント/
- docs/INSTALL.html
- docs/auth_api.html
- docs/corners_right.gif
- docs/corners_right.png
- docs/COPYING
- docs/corners_left.png
- docs/bg_header.gif
- docs/CHANGELOG.html
- docs/coding-guidelines.html
- docs/hook_system.html
- docs/FAQ.html
- docs/site_logo.gif
- ドキュメント/著者
- docs/README.html
- docs/corners_left.gif
- docs/stylesheet.css
- docs/新しいフォルダー/
- docs/New Folder/New Text Document.txt
- docs/新しいフォルダー/新しいフォルダー/
各ファイル パスからディレクトリ名を切り取り、サブカテゴリにする方法が必要です。
したがって、出力は次のようになります。
docs/
INSTALL.html
auth_api.html
corners_right.gif
corners_right.png
COPYING
New Folder/
New Text Document.txt
New Folder/
New Folder/
不可能ではないことを願っています