PHP/File Directory/File Exist
Версия от 10:37, 26 мая 2010; (обсуждение)
File existance
<?php
$myfile = "./test1.txt";
if (file_exists($myfile)) {
$result=unlink ($myfile);
echo $result;
}
?> <?php
$myfile = "./test1.txt";
if (file_exists($myfile)) {
$result=unlink ($myfile);
echo $result;
}
?>