看板 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
pigwolf:之前遇過好像是卡在記憶體裡面,重新啟動機器吧 12/31 15:16
ckai1983:囧...這是計中的主機.. 我無法動到.. 12/31 15:26