<?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] file_exists();]]></title><description><![CDATA[<p dir="auto"><em><strong>PHP 4, 5</strong></em><br />
<em>Sintassi</em>: bool <em><strong>file_exists</strong></em> ( string <em><strong>$file</strong></em> )</p>
<p dir="auto"><em><strong>file_exists</strong></em> è una funzione di PHP che verifica l'esistenza del file passato come argomento.</p>
<pre><code class="language-php">&lt;?
$file = "../dir/file.txt";
if (file_exists($file))
{
echo "Il file $file esiste";
}
else
{
echo "Il file $file non esiste";
}
?&gt;
</code></pre>
<p dir="auto">La funzione restituirà <em><strong>TRUE</strong></em> in caso affermativo (il file esiste) oppure <em><strong>FALSE</strong></em> in caso contrario.</p>
]]></description><link>https://dev.connect.gt/topic/64293/file-e-cartelle-file_exists</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 09:40:23 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/64293.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Feb 2008 22:07:12 GMT</pubDate><ttl>60</ttl></channel></rss>