复制代码 代码如下:
<?php
$filename = 'test.txt';
if (is_file($filename)) {
echo "$filename exists!/n";
} else {
echo "$filename no exists!/n";
}
sleep(10);
if (is_file($filename)) {
echo "$filename exists!/n";
} else {
echo "$filename no exists!/n";
}
?>
新闻热点
疑难解答