<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年,长期免费帮助过数千个个人站长及微小企业,解决互联网相关技术问题、运营推广问题、企划品推问题、团队管理问题等