
| <script language="javascript" type="text/javascript" src="/e/htmlindex/index_html.php"></script> |
| <?php require("../class/connect.php"); include("../class/db_sql.php"); include("../class/config.php"); include("../class/functions.php"); include("../class/t_functions.php"); require LoadLang("pub/fun.php"); require("../data/dbcache/class.php"); require("../data/dbcache/MemberLevel.php"); include("../class/chtmlfun.php"); $link=db_connect(); $empire=new mysqlquery(); $filepath_s="indexhtmlhc.txt"; $time=time(); @$filemtime=(int)filemtime($filepath_s)+1200; /* 函數解釋 file_exists() 函數檢查文件或目錄是否存在。 mkdir() 函數創建目錄。 time() 函數返回當前時間的 Unix 時間戳。 filemtime() 函數返回文件內容上次的修改時間。 */ if (!file_exists($filepath_s)){ fopen($filepath_s, 'w'); @chmod($filepath_s, 0777); ReIndex(); }elseif(!file_exists($filepath_s) || (filemtime($filepath_s)+1200)<time()){ fopen($filepath_s, 'w'); @chmod($filepath_s, 0777); ReIndex(); }else{ // do nothing } db_close(); $empire=null; ?> |
版權:田道商網絡科技 聯系人:老田 聯系電話:18016059587 技術支持QQ:1207073414 ICP工商備案:皖ICP備2022012387號
田道商(TDS)語錄:我曾堅持室10年,長期免費幫助過數千個個人站長及微小企業,解決互聯網相關技術問題、運營推廣問題、企劃品推問題、團隊管理問題等