{"id":1241,"date":"2017-11-09T15:07:43","date_gmt":"2017-11-09T07:07:43","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=1241"},"modified":"2017-11-09T15:07:59","modified_gmt":"2017-11-09T07:07:59","slug":"%e7%bb%87%e6%a2%a6dedecms%e9%87%87%e9%9b%86%e6%a0%87%e9%a2%98%e4%b8%8d%e5%ae%8c%e6%95%b4%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95%ef%bc%8c%e4%bf%ae%e6%94%b9%e6%a0%87%e9%a2%98%e9%95%bf%e5%ba%a6","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1241.html","title":{"rendered":"\u7ec7\u68a6(DEDECMS)\u91c7\u96c6\u6807\u9898\u4e0d\u5b8c\u6574\u7684\u89e3\u51b3\u65b9\u6cd5\uff0c\u4fee\u6539\u6807\u9898\u957f\u5ea6"},"content":{"rendered":"
1\u3001\u4fee\u6539\u7cfb\u7edf\u53c2\u6570\u8bbe\u7f6e\uff08\u6587\u6863\u6807\u9898\u6700\u5927\u957f\u5ea6\uff09<\/strong> 2\u3001\u4fee\u6539\u6587\u6863\u8868dede_archives\u4e2d\u7684title\u5b57\u6bb5varchar(255)<\/strong> <\/p>\n 3\u3001\u4fee\u6539\u91c7\u96c6\u6570\u636e\u5bfc\u5165\u7a0b\u5e8fco_export.php<\/strong> \u628a60\u4fee\u6539\u4e3a$cfg_title_maxlen<\/p>\n
\n\u7cfb\u7edf-\u7cfb\u7edf\u8bbe\u7f6e-\u7cfb\u7edf\u57fa\u672c\u53c2\u6570-\u5176\u4ed6\u9009\u9879-\u6587\u6863\u6807\u9898\u6700\u5927\u957f\u5ea6\uff1a255<\/p>\n
\n\u7cfb\u7edf-\u7cfb\u7edf\u8bbe\u7f6e-SQL\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u8f93\u5165\u4ee3\u7801\u5e76\u6267\u884c\uff1a<\/p>\nAlter table dede_archives change title title varchar(255)<\/code><\/pre>\n
\n\u6253\u5f00\u540e\u53f0\u6587\u4ef6\u5939\uff08\u9ed8\u8ba4\u662fdede\uff09\uff0c\u627e\u5230co_export.php\u7684220\u884c\uff1a<\/p>\n$mainSql = str_replace('',cn_substr($title,\u00a060),$mainSql);\u00a0<\/code><\/pre>\n