jjzjj

textfilesretentiondays

全部标签

php - 下载到root并从数据库中删除文件后

我有这个功能,它会自动从我的数据库中删除一定时间后的文本文件。$r=newtextfiles;$db=newDB;$currTime_ori=$db->queryOneRow("SELECTNOW()asnow");...if($this->site->textfilesretentiondays!=0){echo"PostPrc:Deletingtextfilesolderthan".$this->site->textfilesretentiondays."days\n";$result=$db->query(sprintf("selectIDfromtextfileswherepo