详解火车头采集器免登录采集数据发布到DEDECMS织梦的方法

详解火车头采集器免登录采集数据发布到DEDECMS织梦的方法,第1张

详解火车头采集器免登录采集数据发布到Dss="superseo">ss="superseo">EDECMS织梦的方法

本文详细介绍了机车采集器不落地采集数据并发布到DEDEcmsDreamweaverCMS的方式。边肖感觉挺好的,现在分享给大家,也作为大家的参考。回来和边肖一起看看。

在dede/config.php中编写以下代码:

//检测用户登录情况 $cuserLogin=newuserLogin(); if($cuserLogin->getUserID()==-1) { header("location:login.php?gotopage=".urlencode($dedeNowurl)); exit(); }

更改为:

//检测用户登录情况 $cuserLogin=newuserLogin(); if($cuserLogin->getUserID()==-1) { if($my_u!=') { $res=$cuserLogin->checkUser($my_u,$my_p); if($res==1) $cuserLogin->keepUser(); } if($cuserLogin->getUserID()==-1) { header("location:login.php?gotopage=".urlencode($dedeNowurl)); exit(); } }

随后,机车头通知控制模块被改变为

article_add.php?My_u=您的后台管理登录密码

文章里的内容就这些了。期待对大家的学习和培训有所帮助,也期待大家的应用。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/772040.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-03
下一篇 2022-05-03

发表评论

登录后才能评论

评论列表(0条)

保存