English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
La funzione is_writeable() può verificare se il file specificato è scrivibile. Se il file è scrivibile, questa funzione può restituire true. È un alias della funzione is_writable().
bool is_writeable ( string $filename )
<?php $file = "/PhpProject/php/phptest.txt"; if(is_writeable($file)) { echo ("$file è scrivibile"); } else { echo ("$file non è scrivibile"); } ?>
Risultato di output
/PhpProject/php/phptest.txt è scrivibile