[PHP] is_writable()

is_writable() (funzione PHP) verifica se un file esiste e se è scrivibile. Restituisce un valore booleano.

tips&tricks

Sintassi

is_writable($path)
parametro descrizione
$path Il percorso da processare

Esempi

$file = "test.txt";
echo is_writable($file); // true (1)

Contenuti correlati

Fonti esterne

funzioni php, php

Related Articles

0 Comment