<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[elencare tutti i file e le sottocartelle di una cartella?]]></title><description><![CDATA[<p dir="auto">In Php,<br />
come si può elencare tutti i file e le sottocartelle di una cartella?</p>
<p dir="auto">grazie</p>
]]></description><link>https://dev.connect.gt/topic/24987/elencare-tutti-i-file-e-le-sottocartelle-di-una-cartella</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 18:56:37 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/24987.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jan 2007 13:39:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to elencare tutti i file e le sottocartelle di una cartella? on Sun, 07 Jan 2007 16:29:25 GMT]]></title><description><![CDATA[<p dir="auto">In alternativa:</p>
<pre><code class="language-php"> while (false !== ($file = readdir($handle))) {
       echo "$file";
   }
</code></pre>
]]></description><link>https://dev.connect.gt/post/429407</link><guid isPermaLink="true">https://dev.connect.gt/post/429407</guid><dc:creator><![CDATA[probid]]></dc:creator><pubDate>Sun, 07 Jan 2007 16:29:25 GMT</pubDate></item><item><title><![CDATA[Reply to elencare tutti i file e le sottocartelle di una cartella? on Sun, 07 Jan 2007 15:12:14 GMT]]></title><description><![CDATA[<p dir="auto">Si possono elencare tutti i file e sottocartelle di una cartella usando la funzione glob(); che restituisce in un array tutti i file e sottocartelle.</p>
<p dir="auto">Ecco un esempio:<br />
foreach(glob('<em>.</em>') as $file) echo $file;</p>
<p dir="auto"><a href="http://www.php.net/glob" rel="nofollow ugc">http://www.php.net/glob</a></p>
]]></description><link>https://dev.connect.gt/post/429406</link><guid isPermaLink="true">https://dev.connect.gt/post/429406</guid><dc:creator><![CDATA[dea7h]]></dc:creator><pubDate>Sun, 07 Jan 2007 15:12:14 GMT</pubDate></item></channel></rss>