{"id":32,"date":"2023-06-05T13:09:26","date_gmt":"2023-06-05T05:09:26","guid":{"rendered":"http:\/\/pro369.com\/codes?p=32"},"modified":"2019-01-13T18:46:01","modified_gmt":"2019-01-13T18:46:01","slug":"%e7%b7%9a%e4%b8%8a%e8%81%af%e7%b5%a1%e8%a1%a8%e5%96%ae-blockautosubmit-%e7%b9%81%e9%ab%94%e4%b8%ad%e6%96%87%e5%8c%96%e4%bd%9c%e5%93%81%e5%bf%83%e5%be%97","status":"publish","type":"post","link":"https:\/\/por.tw\/codes\/%e7%b7%9a%e4%b8%8a%e8%81%af%e7%b5%a1%e8%a1%a8%e5%96%ae-blockautosubmit-%e7%b9%81%e9%ab%94%e4%b8%ad%e6%96%87%e5%8c%96%e4%bd%9c%e5%93%81%e5%bf%83%e5%be%97\/","title":{"rendered":"\u7dda\u4e0a\u806f\u7d61\u8868\u55ae blockautosubmit \u7e41\u9ad4\u4e2d\u6587\u5316\u4f5c\u54c1\u5fc3\u5f97"},"content":{"rendered":"<p><font size=\"3\">\u7dda\u4e0a\u806f\u7d61\u8868\u55ae blockautosubmit \u7e41\u9ad4\u4e2d\u6587\u5316\u4f5c\u54c1\u5fc3\u5f97<\/font><\/p>\n<p><font size=\"3\" color=\"#ff00ff\">\u4e00\u822c\u7db2\u7ad9\u7684\u8207\u6211\u806f\u7d61\u3010\u8207\u6211\u806f\u7d61\u3011\u8868\u55ae\uff0c\u90fd\u662f\u8207\u67b6\u7ad9\u8edf\u9ad4\u4e00\u9ad4\u7684\uff0c\u4f7f\u7528\u8cc7\u6599\u5eab\u3002<\/font><\/p>\n<p><font size=\"3\" color=\"#ff0000\">\u6709\u7db2\u53cb\u554f\u6211\u4ed6\u60f3\u8981\u6709\u6b64\u529f\u80fd\uff1a<\/font><\/p>\n<p><font size=\"3\" color=\"#0000ff\">1.\u6709\u4e00\u500b\u7368\u7acb\u7528PHP\u8a9e\u8a00\u7a0b\u5f0f\u7db2\u9801\u7684\u3010\u8207\u6211\u806f\u7d61\u3011\u8868\u55ae\u529f\u80fd\uff0c\u8a2a\u5ba2\u586b\u597d\u8868\u55ae\u9001\u51fa\u6703\u76f4\u63a5\u8f49\u5bc4\u5230\u6307\u5b9a\u7684\u96fb\u5b50\u4fe1\u7bb1\u3002<br \/> 2.\u8981\u6709\u3010\u6578\u5b57\u5716\u7247\u3011\u5b89\u5168\u78bc\u78ba\u8a8d\u78bc\u529f\u80fd\uff08\u9632\u6b62\u88ab\u7528\u8edf\u9ad4\u81ea\u52d5\u586b\u5783\u573e\u8868\u55ae\uff09\u3002<br \/> 3.\u6700\u91cd\u8981\u7684\uff1a\u662f\u8981\u5b8c\u5168\u514d\u8cbb\u7684&#8230;..\u771f\u662f\u6c92\u9322\u55ce\uff1f\u7b49\u6709\u9322\u6703\u8cb7\u6211\u7684\u6559\u5b78\u5149\u789f\u6367\u5834\uff08\u6211\u807d\u4e86\u9084\u662f\u76f8\u4fe1\uff09\u3002<\/font><\/p>\n<p><font size=\"3\">\u6211\u7528Google\u5728\u570b\u5916\u627e\u5230\u4e00\u500b\uff1a\u7dda\u4e0a\u806f\u7d61\u8868\u55ae blockautosubmit&nbsp; \u82f1\u6587\u7248\uff08\u514d\u8cbb\uff09<br \/> \u54c7\uff01\u5168\u662f\u3010\u6d0b\u6587\u5566\u3011\u90a3\u570b\u4eba\u600e\u9ebc\u586b\u8868\u55ae\uff1f\u8003\u8a66\u554a\uff1f\u800c\u4e14\u5f88\u967d\u6625\uff08\u514d\u8cbb\u7684\u5c31\u4e0d\u8981\u592a\u8a08\u8f03\uff09<br \/> <font color=\"#ff0000\">\u8acb\u770b\u5716\u4e00\uff1a<\/font><br \/> <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/por.tw\/gif\/form2mail-00.gif\" alt=\"\u7dda\u4e0a\u806f\u7d61\u8868\u55ae\" title=\"\u7dda\u4e0a\u806f\u7d61\u8868\u55ae\" width=\"600\" height=\"600\" \/><\/font><\/p>\n<p><font size=\"3\">\u597d\u5427\uff01\u6211\u4f86\u628a\u5b83\u91cd\u65b0\u4e2d\u6587\u5316\uff0c\u518d\u8a2d\u8a08\u4e00\u500b\u7db2\u9801\u8b93\u4ed6\u50cf\u6a23\u4e00\u9ede\uff01<br \/> <font color=\"#ff0000\">\u8acb\u770b\u5716\u4e8c\uff1a\u8acb\u770b\u6211\u5f04\u597d\u7684\u7db2\u9801\uff08\u5168\u90e8\u6539\u9020\u597d\u5566\uff09<\/p>\n<p> <\/font>\u8acb\u770b\u9023\u7d50\u7db2\u9801\uff1a<br \/> <\/font><\/p>\n<p><a href=\"http:\/\/por.tw\/form2mail\/index.php\" target=\"_blank\" rel=\"noopener noreferrer\"><font size=\"3\">http:\/\/por.tw\/form2mail\/index.php<\/font><\/a><\/p>\n<p><font size=\"3\"><font color=\"#ff0000\">\u62dc\u8a17\uff01\u8b93\u8a2a\u5ba2\u8868\u55ae\u6210\u529f\u9001\u51fa\u7684\u56de\u8986\u7db2\u9801\u600e\u9ebc\u662f\u9019\u6a23\uff1f<br \/> \u8acb\u770b\u5716\u4e09\uff1a<br \/> <\/font><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/por.tw\/gif\/form2mail-2.gif\" alt=\"form2mail\" title=\"form2mail\" width=\"597\" height=\"307\" \/><\/font><\/p>\n<p> <font size=\"3\">\u518d\u8a2d\u8a08\u4e00\u500b\u8b93\u8a2a\u5ba2\u8868\u55ae\u6210\u529f\u9001\u51fa\u7684\u56de\u8986\u7db2\u9801\uff01<\/p>\n<p> <font color=\"#ff0000\">\u8acb\u770b\u7db2\u9801\uff1a\u8868\u55ae\u6210\u529f\u9001\u51fa\u56de\u8986\u7db2\u9801<br \/> <\/font><br \/> <\/font><\/p>\n<p><a href=\"http:\/\/por.tw\/form2mail\/good_submission.html\" target=\"_blank\" rel=\"noopener noreferrer\"><font size=\"3\">http:\/\/por.tw\/form2mail\/good_submission.html<\/font><\/a><\/p>\n<p><font size=\"3\">\u5927\u529f\u544a\u6210\u5566\uff01\u5728\u6211\u7684\u4e3b\u6a5f\u6e2c\u8a66\u771f\u7684\u592a\u68d2\u5566\uff01\u5373\u6642\u8f49\u6307\u5b9a\u5230\u4fe1\u7bb1&#8230;\u8d85\u5feb\uff01<br \/> <font color=\"#ff0000\">\u50b3\u5230\u7db2\u53cb\u4e3b\u6a5f\u537b\u51fa\u73fe\uff1a\u3010Warning: session_start(): Cannot send session cookie &#8211; headers already sent by &hellip;\u3011<\/font><\/font><\/p>\n<p><font size=\"3\">\u4f86\u597d\u4eba\u505a\u5230\u5e95&#8230;\u628a\u5b83\u4fee\u8b77\u4e00\u4e0b\uff0c\u89e3\u6c7a\u65b9\u6cd5\u6709\u4e8c\uff1a<\/font><\/p>\n<p><font size=\"3\"><font color=\"#ff00ff\">\u89e3\u6c7a\u65b9\u6cd5\u4e00\uff1a\u4fee\u6539 php.ini\uff1a<br \/> <\/font>output_buffering = On<br \/> \u78ba\u8a8d session_start() \u7684\u547c\u53eb\u662f\u5728\u7522\u751f\u4efb\u4f55 HTML \u8f38\u51fa\u4e4b\u524d\uff1a<br \/> \u9019\u662f\u56e0\u70ba session \u7684\u8cc7\u6599\u5132\u5b58\u5728 cookie \u88e1\u9762\uff0c\u800c cookie \u7684\u8a2d\u7f6e\u5fc5\u9808\u5728 HTML \u4e4b\u524d\u3002<\/font><\/p>\n<p><font size=\"3\">\u6b63\u78ba\u7bc4\u4f8b\uff1a<\/font><\/p>\n<p><font size=\"3\">&lt;? session_start(); ?&gt;<br \/> &lt;html&gt;<br \/> &hellip;<br \/> &lt;\/html&gt;<\/font><\/p>\n<p><font size=\"3\">\u932f\u8aa4\u7bc4\u4f8b\uff1a<\/font><\/p>\n<p><font size=\"3\">&lt;html&gt;<br \/> &#8230;<br \/> &lt;? session_start(); ?&gt;<br \/> &hellip;<br \/> &lt;\/html&gt;<\/font><\/p>\n<p><font size=\"3\" color=\"#ff00ff\">\u89e3\u6c7a\u65b9\u6cd5\u4e8c\uff1a<\/font><\/p>\n<p><font size=\"3\">\u5982\u679c session_start() \u5df2\u7d93\u5728\u6240\u6709\u8f38\u51fa\u4e4b\u524d\uff0c\u800c\u8a72\u8b66\u544a\u8a0a\u606f\u4f9d\u7136\u51fa\u73fe\uff0c\u9019\u53ef\u80fd\u662f PHP \u6587\u4ef6\u683c\u5f0f\u70ba UTF-8 \uff0c\u6b64\u6642\u5c07 session_start() \u6539\u6210 @session_start() \u5373\u53ef\u3002<\/font><\/p>\n<p><font size=\"3\">\u641e\u5b9a\u4e86\uff01\u5f9e\u6b64\u904e\u8457\u5e78\u798f\u5feb\u6a02\u7684\u65e5\u5b50&#8230;&#8230;\u3002<br \/> <font color=\"#ff00ff\">\u8edf\u9ad4\u4e2d\u6587\u5316\u4e0d\u6b62\u4e2d\u6587\u5316\u8edf\u9ad4\uff0c\u7db2\u7ad9\u3001\u96fb\u5b50\u66f8\u3001\u904a\u6232\u7a0b\u5f0f&#8230;..\u6709\u592a\u591a\u904b\u7528\u4e86\uff08\u7db2\u8def\u4e0a\u8edf\u9ad4\u6709\u4eba\u5f04\uff0c\u5176\u5b83\u7684\u5c11\u7684\u53ef\u6190&#8230;..\uff09\u3002<\/font><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7dda\u4e0a\u806f\u7d61\u8868\u55ae blockautosubmit \u7e41\u9ad4\u4e2d\u6587\u5316\u4f5c\u54c1\u5fc3\u5f97 \u4e00\u822c\u7db2\u7ad9\u7684\u8207\u6211\u806f\u7d61\u3010\u8207\u6211\u806f\u7d61\u3011\u8868\u55ae\uff0c\u90fd\u662f\u8207\u67b6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1611,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12"],"_links":{"self":[{"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/media\/1611"}],"wp:attachment":[{"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/codes\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}