网站首页 站群教程 站群优化教程 正文
前几天博客更新了一款从网友处购得的《分城市搜狗泛站群/自带蜘蛛统计和强引》站群程序,今天拳头SEO说他有这款程序的升级版。
据拳头SEO描述,本程序是做搜狗收录用的,新款的程序里面内置了php提交搜狗xml和翻译的接口,以及百度token推送的接口,只用宝塔定时任务访问,通过定时推送提高站点的抓取频次。
并且本程序的新版将源程序在原版php一键配置文件(configure.php)之外,增加了一个php控制页面,用户可以通过访问php来实现前天修改配置文件。前台展示效果如下图:
增加方法
在本程序的根目录下新建一个control.php(最好自定义文件名),增加下文代码,访问站点域名/此PHP文件即可。
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>设置页面</title> <meta name="description" content=""> <meta name="keywords" content=""> <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css" /> </head> <body style="padding: 15px;"> <?php require './configure.php'; if($_POST){ $astricts = $_POST['astrict']; $citations = $_POST['citation']; $spider_types = $_POST['spider_type']; $spider_ips = $_POST['spider_ip']; $chances = $_POST['chance']; $link_types = $_POST['link_type']; update_config("configure.php", "astrict", $astricts); update_config("configure.php", "citation", $citations); update_config("configure.php", "spider_type", $spider_types); update_config("configure.php", "spider_ip", $spider_ips); update_config("configure.php", "chance", $chances); update_config("configure.php", "link_type", $link_types); echo "<script language=JavaScript> location.replace(location.href);</script>"; } if($_GET){ $str=$_GET['link']; $fp=fopen("hret.txt","w"); fwrite($fp,$str);//写入 fclose($fp); } function update_config($file, $ini, $value,$type="string") { if(!file_exists($file)) return false; $str = file_get_contents($file); $str2 = ""; if($type == "int"){ $str2 = preg_replace("/".preg_quote($ini)."=(.*);/", $ini."=".$value.";",$str); } else{ $str2 = preg_replace("/".preg_quote($ini)."=(.*);/",$ini."=\"".$value."\";",$str); } file_put_contents($file, $str2); } ?> <form action="" class="layui-form" method="post"> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;color: red;">蜘蛛池访问限制:</label> <div> <input type="radio" name="astrict" value="1" title="蜘蛛访问" <?php echo $astrict == 1 ? "checked" : ''; ?>> <input type="radio" name="astrict" value="0" title="访客+蜘蛛访问" <?php echo $astrict == 0 ? "checked" : ''; ?>> </div> </div> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;color: red;">开启蜘蛛强引功能:</label> <div> <input type="radio" name="citation" value="1" title="开启" <?php echo $citation == 1 ? "checked" : ''; ?>> <input type="radio" name="citation" value="0" title="关闭" <?php echo $citation == 0 ? "checked" : ''; ?>> </div> </div> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;color: red;">强引指定蜘蛛:</label> <div> <input type="radio" name="spider_type" value="1" title="百度蜘蛛" <?php echo $spider_type == 1 ? "checked" : ''; ?>> <input type="radio" name="spider_type" value="3" title="搜狗蜘蛛" <?php echo $spider_type == 3 ? "checked" : ''; ?>> <input type="radio" name="spider_type" value="2" title="360蜘蛛" <?php echo $spider_type == 2 ? "checked" : ''; ?>> <input type="radio" name="spider_type" value="4" title="谷歌蜘蛛" <?php echo $spider_type == 4 ? "checked" : ''; ?>> </div> </div> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;color: red;">强引指定蜘蛛IP:</label> <div> <input type="radio" name="spider_ip" value="1" title="开启" <?php echo $spider_ip == 1 ? "checked" : ''; ?>> <input type="radio" name="spider_ip" value="0" title="关闭" <?php echo $spider_ip == 0 ? "checked" : ''; ?>> </div> </div> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;color: red;">强引外链类型:</label> <div> <input type="radio" name="link_type" value="1" title="系统外链" <?php echo $link_type == 1 ? "checked" : ''; ?>> <input type="radio" name="link_type" value="2" title="自定义外链" <?php echo $link_type == 2 ? "checked" : ''; ?>> </div> </div> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;color: red;">蜘蛛强引概率,1到100的概率设置,100为100%:</label> <div> <input type="text" name="chance" autocomplete="off" class="layui-input" value="<?php echo $chance; ?>"> </div> </div> <div class="layui-form-item"> <div> <button type="submit" class="layui-btn layui-btn-normal layui-btn-fluid">立即提交</button> </div> </div> </form> <br> <form action="" class="layui-form" method="get"> <div class="layui-form-item layui-form-text"> <label style="margin-bottom: 15px;display: block;">自定义链接</label> <div> <textarea name="link" rows="8" placeholder="一行一条链接" class="layui-textarea"><?php echo file_get_contents('hret.txt');?></textarea> </div> </div> <div class="layui-form-item"> <div> <button type="submit" class="layui-btn layui-btn-normal layui-btn-fluid">立即提交</button> </div> </div> </form> <script src="https://www.layuicdn.com/layui/layui.js"></script> </body> </html>
- 上一篇: 网站图片一键采集软件
- 下一篇: 关于站内赞助会员时效变更通知
必看说明
- 本站中所有被研究的素材与信息全部来源于互联网,版权争议与本站无关。
- 本站文章或仅为文本内容原创,非程序原创。如有侵权、不妥之处,请联系站长第一时间删除。敬请谅解!
- 本站所有内容严格遵守国家法律的条例,所有研究的算法技术均来源于搜索引擎公开默认允许用户研究使用的接口。
- 本站分享的任何工具、程序仅供学习参考编写架构,仅可在本地的虚拟机内断网测试,严禁联网运行或上传搭建!
- 任何资源必须在下载后24个小时内,从电脑中彻底删除。不得传播或者用于其他任何用途!否则一切后果用户自负!
- 转载请注明 : 文章转载自 曹操博客 为分城市搜狗泛站群的配置文件增加php控制页面
- 本文标题:《为分城市搜狗泛站群的配置文件增加php控制页面》
- 本文链接:https://www.ccooc.cn/1533.html
猜你喜欢
- 2022-04-19 东子图书简介泛目录程序
- 2022-04-19 超度小说站泛目录二开版
- 2022-04-19 超度小说站泛目录程序
- 2022-04-11 刘二狗搜狗泛二级站群程序
- 2022-04-10 适用于超度站群的图书模板
- 2022-04-10 逆东批量上权重的图书内容程序制作思路
- 2022-04-09 超度小说站泛目录程序站群版
- 2022-04-07 如何使用泛端口站群模式以及宝塔开启服务器端口
- 2022-03-30 冥王下载站泛目录/带蜘蛛统计插件
- 2022-03-30 单页企业泛站搜狗站群程序
你 发表评论:
欢迎- 1322℃遵纪守法:一起举报违法网址
- 14558℃福利!新手专用站群程序软件打包
- 10926℃亲测小说站:半个月权重八
- 5889℃通过cookie获取token并推送工具
- 3588℃百度多线程批量ping推送链接工具
- 3006℃百度域名批量添加工具及教程
- 3865℃搜狗搜索下拉词相关词采集工具
- 3471℃搜狗相关搜索词获取工具
- 13473℃超度小说站泛目录程序
- 7864℃超度小说站泛目录程序站群版
- 7446℃黑侠万词万能模板站群全套
- 6266℃单页企业泛站搜狗站群程序
- 5889℃通过cookie获取token并推送工具
- 5657℃黑侠站群程序去授权万能模板系统V7.0
- 4619℃按键精灵不能免费制作小精灵脚本了
- 4170℃分城市搜狗泛站群/自带蜘蛛统计和强引
- 04-28360域名收录批量查询工具
- 04-27盘点2022年春季没用的快排软件
- 04-21百度正打击构造虚假标题等违规站点
- 04-19东子图书简介泛目录程序
- 04-19超度小说站泛目录二开版
- 04-19超度小说站泛目录程序
- 04-19站点所有内容自查,所有资源暂停分享通知
- 04-18判断搜索引擎来路则跳转到JS代码
- 近期评论
- 文章归档
-
- 2022年4月 (56)
- 2022年3月 (68)
- 2022年2月 (3)
- 2022年1月 (4)
- 2021年12月 (27)
- 2021年11月 (20)
- 2021年10月 (4)
- 2021年9月 (23)
- 2021年8月 (71)
- 2021年7月 (4)
- 2021年6月 (18)
- 2021年5月 (28)
- 2021年4月 (1)
- 2021年3月 (39)
- 2021年1月 (8)
- 2020年12月 (34)
- 2020年11月 (16)
- 2020年10月 (51)
- 2020年9月 (114)
- 2020年8月 (63)
- 2020年7月 (30)
- 2020年6月 (50)
- 2020年5月 (127)
- 2020年4月 (83)
- 2020年3月 (92)
- 2020年2月 (82)
- 2020年1月 (18)
- 2019年12月 (82)
- 2019年11月 (16)
- 2019年10月 (36)
- 2019年9月 (3)
- 2018年3月 (20)
- 2018年2月 (1)
- 2018年1月 (3)
- 2017年12月 (5)
- 2017年11月 (206)
- 2017年10月 (166)
- 标签列表
- 站点信息
-
- 文章总数:1674
- 页面总数:7
- 分类总数:46
- 标签总数:363
- 评论总数:4040
- 浏览总数:3919891
本文暂时没有评论,来添加一个吧(●'◡'●)