如何去掉dedecms
解决方法很简单,如果你的网页中出现power by dedecms,或power by xxx。你就去找include/目录下的dedesql.class.php。然后打开。
然后查看代码(最好是用dreamweaver这样的编辑器,会显示页码)。
在include/dedesql.class.php文件会多出第588到第592行的那几段代码(也可以复制以下一小段代码进行搜索),代码大致如下:
$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79); $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f, 0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72, 0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20, 0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);
然后,就简单了,把这段代码直接删除或注释掉,保存上传覆盖,然后更新网页。
更多dedecms技术文章,请访问dedecms使用教程栏目!
以上是如何去掉dedecms的详细内容。更多信息请关注PHP中文网其他相关文章!