[PHP] file_exists()

file_exists() (funzione PHP) verifica se un file o una cartella esista. Restituisce un valore booleano.

tips&tricks

Sintassi

file_exists($file)
parametro descrizione
$file Il file da processare

Esempi

echo file_exists(prova.txt); true (1)

Contenuti correlati

Fonti esterne

funzioni php, php

Related Articles

0 Comment