[請益] server會每分鐘自動執行一次php檔
我測試這個test.php
<?php
mt_rand(0, (double) microtime());
$rand_text = str_pad(rand(0,999999), 6, "0", STR_PAD_BOTH);
$fh=fopen('file/' . $rand_text,"w");
fclose($fh);
?>
並把file目錄設chmod為777
我沒有用瀏覽器去執行那個test.php
但file目錄裡面卻每分鐘增加一個亂數檔名
請問這是怎麼回事呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.249.46.162
→
12/31 15:16, , 1F
12/31 15:16, 1F
→
12/31 15:26, , 2F
12/31 15:26, 2F