<?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[[File e Cartelle] is_dir();]]></title><description><![CDATA[<p dir="auto"><strong>PHP 4,5</strong><br />
<em>Sintassi:</em> bool <em><strong>is_dir</strong></em> ( string <em><strong>$file</strong></em> )</p>
<p dir="auto"><em><strong>is_dir</strong></em> è una funzione di php, che verifica se il file è una cartella.<br />
La funzione restituisce <strong>TRUE</strong> se il file è una cartella, in caso contrario restituisce <strong>FALSE</strong></p>
<pre><code class="language-php"> &lt;?
$file = 'cartella';
if(id_dir($file))
   echo $file.' è una cartella';
else
   echo $file.' non è una cartella';
?&gt;
</code></pre>
<p dir="auto">Al fine di aumentare le prestazioni del sistema, php inserisce in cache la funzione.</p>
]]></description><link>https://dev.connect.gt/topic/91145/file-e-cartelle-is_dir</link><generator>RSS for Node</generator><lastBuildDate>Tue, 01 Dec 2026 10:24:53 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/91145.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Dec 2008 13:26:37 GMT</pubDate><ttl>60</ttl></channel></rss>