文件名1.php,可以放在网站根目录,到时候每天点一下就行了!只适用于自适应站点
- <?php
- require_once ("include/common.inc.php");
- require_once "include/arc.partview.class.php";
- require_once('include/charset.func.php');
- $year = date("Y");
- $month = date("m");
- $day = date("d");
- $dayBegin = mktime(0,0,0,$month,$day,$year);
- $dayEnd = mktime(23,59,59,$month,$day,$year);
- $query = "SELECT arch.id,types.typedir FROM dede_arctype as types inner join dede_archives as arch on types.id=arch.typeid where pubdate<".$dayEnd." AND pubdate>".$dayBegin."";
- //echo $query;
- $urls="";
- $dsql->Execute('arch.id,types.typedir',$query);
- while($row = $dsql->GetArray('arch.id,types.typedir'))
- {
- $urls.="https://www.19tx.cn".str_replace("{cmspath}","",$row['typedir'])."/".$row[id].".html".",";
- }
- $urls=substr($urls,0,-1);
- $urls = explode(",",$urls);
搜资源0全网资源一网打尽0www.souziyuan.top
- $api = 'http://data.zz.baidu.com/urls?appid=熊掌号ID&token=密钥&type=realtime'; // 前边的熊掌号ID和密钥换成自己的
- THE END -
本站提供的资源,都来自网络,版权争议与本站无关,所有内容及软件的文章仅限用于学习和研究目的。不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负,我们不保证内容的长久可用性,通过使用本站内容随之而来的风险与本站无关,您必须在下载后的24个小时之内,从您的电脑/手机中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。侵删请致信邮箱souziyuan@outlook.com
共有 0 条评论