{"id":31125,"date":"2024-11-25T12:34:55","date_gmt":"2024-11-25T04:34:55","guid":{"rendered":"https:\/\/fwq.ai\/blog\/31125\/"},"modified":"2024-11-25T12:34:55","modified_gmt":"2024-11-25T04:34:55","slug":"phpcms-v9%e5%af%86%e7%a0%81%e9%94%99%e8%af%af%e6%80%8e%e4%b9%88%e5%8a%9e","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/31125\/","title":{"rendered":"phpcms v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e"},"content":{"rendered":"<p style=\"text-align: center\"><strong><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/020\/5e1d1fe77eb76562.jpg\" class=\"aligncenter\" title=\"phpcms v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e\u63d2\u56fe\" alt=\"phpcms v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e\u63d2\u56fe\" \/><\/strong><\/p>\n<p><strong> v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e\uff1f<\/strong><\/p>\n<p>PHPCMS V9\u201c\u5bc6\u7801\u91cd\u8bd5\u6b21\u6570\u592a\u591a\uff0c\u8bf7\u8fc7-xxx\u5206\u949f\u540e\u91cd\u65b0\u767b\u5f55\uff01\u201d\u7684\u89e3\u51b3\u529e\u6cd5<\/p>\n<p>\u627e\u5230\u6587\u4ef6 phpcmsmodulesdminindex.php<\/p>\n<p>\u5c06\u5982\u4e0b\u4ee3\u7801\u6ce8\u91ca\u6389\uff1a<\/p>\n<pre>if($rtime['times']&nbsp;&amp;gt;=&nbsp;$maxloginfailedtimes)&nbsp;{\n&nbsp;&nbsp;$minute&nbsp;=&nbsp;60-floor((SYS_TIME-$rtime['logintime'])\/60);\n&nbsp;&nbsp;showmessage(L('wait_1_hour',array('minute'=&amp;gt;$minute)));\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u7136\u540e\u518d\u6b21\u767b\u5f55\u540e\u53f0\uff0c\u66f4\u65b0\u5168\u7ad9\u7f13\u5b58\u3002<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p>\u6210\u529f\u767b\u9646\u540e\uff0c\u518d\u5c06\u6ce8\u91ca\u6389\u7684\u4ee3\u7801\u6062\u590d\u5373\u53ef\u3002<\/p>\n<p>PHPCMS V9\u76f8\u5173\u4ecb\u7ecd\uff1a<\/p>\n<p>PHPCMS V9\uff08\u540e\u9762\u7b80\u79f0V9\uff09\u91c7\u7528PHP5+MYSQL\u505a\u4e3a\u6280\u672f\u57fa\u7840\u8fdb\u884c\u5f00\u53d1\u3002V9\u91c7\u7528OOP\uff08\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\uff09+ MVC\u8bbe\u8ba1\u6a21\u5f0f,\u8fdb\u884c\u57fa\u7840\u8fd0\u884c\u6846\u67b6\u642d\u5efa\u3002\u6a21\u5757\u5316\u5f00\u53d1\u65b9\u5f0f\u505a\u4e3a\u529f\u80fd\u5f00\u53d1\u5f62\u5f0f\u3002\u6846\u67b6\u6613\u4e8e\u529f\u80fd\u6269\u5c55\uff0c\u4ee3\u7801\u7ef4\u62a4\uff0c\u4f18\u79c0\u7684\u4e8c\u6b21\u5f00\u53d1\u80fd\u529b\uff0c\u53ef\u6ee1\u8db3\u6240\u6709\u7f51\u7ad9\u7684\u5e94\u7528\u9700\u6c42\u3002 5\u5e74\u5f00\u53d1\u7ecf\u9a8c\u7684\u4f18\u79c0\u56e2\u961f\uff0c\u5728\u638c\u63e1\u4e86\u4e30\u5bcc\u7684WEB\u5f00\u53d1\u7ecf\u9a8c\u548cCMS\u4ea7\u54c1\u5f00\u53d1\u7ecf\u9a8c\u7684\u540c\u65f6\uff0c\u52c7\u4e8e\u521b\u65b0\u8ffd\u6c42\u5b8c\u7f8e\u7684\u8bbe\u8ba1\u7406\u5ff5\uff0c\u4e3a\u5168\u7403\u591a\u8fbe10\u4e07\u7f51\u7ad9\u63d0\u4f9b\u52a9\u529b\uff0c\u5e76\u88ab\u66f4\u591a\u7684\u653f\u5e9c\u673a\u6784\u3001\u6559\u80b2\u673a\u6784\u3001\u4e8b\u4e1a\u5355\u4f4d\u3001\u5546\u4e1a\u4f01\u4e1a\u3001\u4e2a\u4eba\u7ad9\u957f\u6240\u8ba4\u53ef\u3002 V9\u5728\u4fdd\u75592008\u7248\u7684\u7279\u70b9\u7684\u540c\u65f6\uff0c\u5bf9\u65b0\u7248\u672c\u4f5c\u51fa\u91cd\u5927\u7684\u521b\u65b0\uff0c\u4ee5\u671f\u5f85\u5168\u65b0\u7684PHPCMS\u7cfb\u7edf\u670d\u52a1\u66f4\u591a\u7684\u7528\u6237\u3002<\/p>\n<p>PHP\u4e2d\u6587\u7f51\uff0c\u5927\u91cf\u7684\u514d\u8d39\uff0c\u6b22\u8fce\u5728\u7ebf\u5b66\u4e60\uff01<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e\uff1f PHPCMS V9\u201c\u5bc6\u7801\u91cd\u8bd5\u6b21\u6570\u592a\u591a\uff0c\u8bf7\u8fc7-xxx\u5206\u949f\u540e\u91cd\u65b0\u767b\u5f55\uff01\u201d\u7684\u89e3\u51b3\u529e\u6cd5 \u627e\u5230\u6587\u4ef6 phpcmsmodulesdminindex.php \u5c06\u5982\u4e0b\u4ee3\u7801\u6ce8\u91ca\u6389\uff1a if($rtime[&#8216;times&#8217;]&nbsp;&amp;gt;=&nbsp;$maxloginfailedtimes)&nbsp;{ &nbsp;&nbsp;$minute&nbsp;=&nbsp;60-floor((SYS_TIME-$rtime[&#8216;logintime&#8217;])\/60); &nbsp;&nbsp;showmessage(L(&#8216;wait_1_hour&#8217;,array(&#8216;minute&#8217;=&amp;gt;$minute))); } \u767b\u5f55\u540e\u590d\u5236 \u7136\u540e\u518d\u6b21\u767b\u5f55\u540e\u53f0\uff0c\u66f4\u65b0\u5168\u7ad9\u7f13\u5b58\u3002 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6210\u529f\u767b\u9646\u540e\uff0c\u518d\u5c06\u6ce8\u91ca\u6389\u7684\u4ee3\u7801\u6062\u590d\u5373\u53ef\u3002 PHPCMS V9\u76f8\u5173\u4ecb\u7ecd\uff1a PHPCMS V9\uff08\u540e\u9762\u7b80\u79f0V9\uff09\u91c7\u7528PHP5+MYSQL\u505a\u4e3a\u6280\u672f\u57fa\u7840\u8fdb\u884c\u5f00\u53d1\u3002V9\u91c7\u7528OOP\uff08\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\uff09+ MVC\u8bbe\u8ba1\u6a21\u5f0f,\u8fdb\u884c\u57fa\u7840\u8fd0\u884c\u6846\u67b6\u642d\u5efa\u3002\u6a21\u5757\u5316\u5f00\u53d1\u65b9\u5f0f\u505a\u4e3a\u529f\u80fd\u5f00\u53d1\u5f62\u5f0f\u3002\u6846\u67b6\u6613\u4e8e\u529f\u80fd\u6269\u5c55\uff0c\u4ee3\u7801\u7ef4\u62a4\uff0c\u4f18\u79c0\u7684\u4e8c\u6b21\u5f00\u53d1\u80fd\u529b\uff0c\u53ef\u6ee1\u8db3\u6240\u6709\u7f51\u7ad9\u7684\u5e94\u7528\u9700\u6c42\u3002 5\u5e74\u5f00\u53d1\u7ecf\u9a8c\u7684\u4f18\u79c0\u56e2\u961f\uff0c\u5728\u638c\u63e1\u4e86\u4e30\u5bcc\u7684WEB\u5f00\u53d1\u7ecf\u9a8c\u548cCMS\u4ea7\u54c1\u5f00\u53d1\u7ecf\u9a8c\u7684\u540c\u65f6\uff0c\u52c7\u4e8e\u521b\u65b0\u8ffd\u6c42\u5b8c\u7f8e\u7684\u8bbe\u8ba1\u7406\u5ff5\uff0c\u4e3a\u5168\u7403\u591a\u8fbe10\u4e07\u7f51\u7ad9\u63d0\u4f9b\u52a9\u529b\uff0c\u5e76\u88ab\u66f4\u591a\u7684\u653f\u5e9c\u673a\u6784\u3001\u6559\u80b2\u673a\u6784\u3001\u4e8b\u4e1a\u5355\u4f4d\u3001\u5546\u4e1a\u4f01\u4e1a\u3001\u4e2a\u4eba\u7ad9\u957f\u6240\u8ba4\u53ef\u3002 V9\u5728\u4fdd\u75592008\u7248\u7684\u7279\u70b9\u7684\u540c\u65f6\uff0c\u5bf9\u65b0\u7248\u672c\u4f5c\u51fa\u91cd\u5927\u7684\u521b\u65b0\uff0c\u4ee5\u671f\u5f85\u5168\u65b0\u7684PHPCMS\u7cfb\u7edf\u670d\u52a1\u66f4\u591a\u7684\u7528\u6237\u3002 PHP\u4e2d\u6587\u7f51\uff0c\u5927\u91cf\u7684\u514d\u8d39\uff0c\u6b22\u8fce\u5728\u7ebf\u5b66\u4e60\uff01 \u4ee5\u4e0a\u5c31\u662f v9\u5bc6\u7801\u9519\u8bef\u600e\u4e48\u529e\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-31125","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=31125"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31125\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=31125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=31125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=31125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}