<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 05:27:16 +0000</lastBuildDate>
    <item>
      <title>(PHP) Another Directory Crowler - artoodetoo</title>
      <link>https://snipplr.com/view/20447/another-directory-crowler</link>
      <description>&lt;p&gt;Sometime it is convenient to get recursive directory listing as array of items&#13;
  directory =&gt; (file array)&#13;
  Such as:&#13;
&#13;
    Array&#13;
    (&#13;
        [./a2temple] =&gt; Array&#13;
            (&#13;
                [0] =&gt; example13.zip&#13;
            )&#13;
    &#13;
        [./rand] =&gt; Array&#13;
            (&#13;
                [0] =&gt; rand.zip&#13;
            )&#13;
    &#13;
        [./pstudio] =&gt; Array&#13;
            (&#13;
                [0] =&gt; pstudio.zip&#13;
            )&#13;
    &#13;
        [./myview/private] =&gt; Array&#13;
            (&#13;
                [0] =&gt; logs.zip&#13;
            )&#13;
    &#13;
        [./myview] =&gt; Array&#13;
            (&#13;
                [0] =&gt; myview-2.zip&#13;
            )&#13;
    &#13;
        [.] =&gt; Array&#13;
            (&#13;
                [0] =&gt; testutf.zip&#13;
                [1] =&gt; RBAC.ZIP&#13;
            )&#13;
    &#13;
    )&#13;
&#13;
My function can get optional extension filter and returns count of files found.&lt;/p&gt;</description>
      <pubDate>Wed, 30 Sep 2009 00:04:27 UTC</pubDate>
      <guid>https://snipplr.com/view/20447/another-directory-crowler</guid>
    </item>
  </channel>
</rss>
