<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shim0111</author_name>
  <author_url>https://blog.hatena.ne.jp/shim0111/</author_url>
  <blog_title>[hello world 動かない　][検索]</blog_title>
  <blog_url>https://shim0111.hatenablog.com/</blog_url>
  <categories>
    <anon>CakePHP</anon>
    <anon>PHP</anon>
  </categories>
  <description>CakePHPでZIPファイルをダウンロードする PHP:5.6.3 CakePHP: 2.6.4主にこのクラスを使って処理をするのだけど PHP: ZipArchive - ManualZipArchiveにディレクトリをzipに含めるというメソッドがない。 ディレクトリを指定して、中身を全部追加したい場合は、 空のディレクトリを作るメソッドと、ファイルを追加するというメソッドを組み合わせて 処理を作る必要がある。 &lt;?php class DownloadController extends AppController { public function zip() { $zip = new…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshim0111.hatenablog.com%2Fentry%2F2015%2F06%2F13%2F204847&quot; title=&quot;cakephp zip 作成 ダウンロード - [hello world 動かない　][検索]&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-06-13 20:48:47</published>
  <title>cakephp zip 作成 ダウンロード</title>
  <type>rich</type>
  <url>https://shim0111.hatenablog.com/entry/2015/06/13/204847</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
