{"id":60685,"date":"2025-04-26T11:13:36","date_gmt":"2025-04-26T03:13:36","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60685\/"},"modified":"2025-04-26T11:13:36","modified_gmt":"2025-04-26T03:13:36","slug":"zencart%e7%99%bb%e5%bd%95%e6%88%96%e6%b3%a8%e5%86%8c%e5%90%8e%e8%bf%94%e5%9b%9e%e4%b9%8b%e5%89%8d%e9%a1%b5%e9%9d%a2%e5%8a%9f%e8%83%bd%e7%9a%84%e4%bf%ae%e6%94%b9","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60685\/","title":{"rendered":"zencart\u767b\u5f55\u6216\u6ce8\u518c\u540e\u8fd4\u56de\u4e4b\u524d\u9875\u9762\u529f\u80fd\u7684\u4fee\u6539"},"content":{"rendered":"<p>&nbsp;<span style=\"font-family: Arial, Tahoma, Verdana;font-size: 14px;line-height: 20px\">&nbsp;<\/span><span style=\"font-family: Arial, Tahoma, Verdana;font-size: 14px;line-height: 20px\"><span style=\"font-size: 14px\"><span style=\"font-size: 16px\"><span style=\"font-size: 14px\"><strong>\u8981\u4fee\u6539\u4e24\u4e2a\u6587\u4ef6\uff1a<\/strong><\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 10px;padding-left: 0px;font-family: Arial, Tahoma, Verdana;font-size: 14px;line-height: 20px\"><span style=\"font-size: 14px\"><span style=\"font-size: 16px\"><span style=\"font-size: 14px\">1\u3001\u7b2c\u4e00\u4e2a\u6587\u4ef6 \/includes\/modules\/pages\/login\/header_php.php<br \/> \u5934\u90e8\u589e\u52a0\u4ee5\u4e0b<span>\u4ee3\u7801<\/span>\uff0c\u4e3b\u8981\u7528\u4e8e\u589e\u52a0\u4e00\u4e2a\u8f85\u52a9\u7684\u8fdb\u5165\u524d\u7684\u9875\u8bb0\u5f55\uff0c\u5e76\u5c4f\u853d\u51e0\u4e2a\u9875<br \/> if(stripos($_SERVER[&#8216;HTTP_REFERER&#8217;],\u2019login\u2019)==false &amp;&amp; stripos($_SERVER[&#8216;HTTP_REFERER&#8217;],\u2019create_account\u2019)==false &amp;&amp; stripos($_SERVER[&#8216;HTTP_REFERER&#8217;],\u2019logoff\u2019)==false)<br \/> $_SESSION[&#8216;tempcurrenturl&#8217;]=$_SERVER[&#8216;HTTP_REFERER&#8217;];<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.ldhost.cn\/www.zencartex.com\/UQQPZ\/wp-includes\/js\/tinymce\/plugins\/wordpress\/img\/trans.gif\" style=\"max-width: 100%\" title=\"zencart\u767b\u5f55\u6216\u6ce8\u518c\u540e\u8fd4\u56de\u4e4b\u524d\u9875\u9762\u529f\u80fd\u7684\u4fee\u6539\u63d2\u56fe\" alt=\"zencart\u767b\u5f55\u6216\u6ce8\u518c\u540e\u8fd4\u56de\u4e4b\u524d\u9875\u9762\u529f\u80fd\u7684\u4fee\u6539\u63d2\u56fe\" \/><br \/> else<br \/> if(!isset($_SESSION[&#8216;tempcurrenturl&#8217;]))<br \/> $_SESSION[&#8216;tempcurrenturl&#8217;]=\u201d;<\/span><\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 10px;padding-left: 0px;font-family: Arial, Tahoma, Verdana;font-size: 14px;line-height: 20px\"><span style=\"font-size: 14px\"><span style=\"font-size: 16px\"><span style=\"font-size: 14px\">\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/> if (sizeof($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot) &gt; 0) { \u4ee5\u4e0b\u4ee3\u7801\u6362\u6210\uff0c\u4e3b\u8981\u7528\u4e8e\u517c\u5bb9\u539f\u4ee3\u7801\uff0c\u5e76\u5bf9\u5931\u6548\u4ee3\u7801\u7684\u91cd\u65b0\u66f4\u6b63<\/span><\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 10px;padding-left: 0px;font-family: Arial, Tahoma, Verdana;font-size: 14px;line-height: 20px\"><span style=\"font-size: 14px\"><span style=\"font-size: 16px\"><span style=\"font-size: 14px\">if (sizeof($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot) &gt; 0) {<br \/> $origin_href = zen_href_link($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot[&#8216;page&#8217;], zen_array_to_string($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot[&#8216;get&#8217;], array(zen_session_name())), $_SESSION[&#8216;navigation&#8217;]-&gt;snapshot[&#8216;mode&#8217;]);<br \/> $_SESSION[&#8216;tempcurrenturl&#8217;]=$origin_href;<br \/> $_SESSION[&#8216;navigation&#8217;]-&gt;clear_snapshot();<br \/> zen_redirect($origin_href);<br \/> } else {<br \/> if($_SESSION[&#8216;tempcurrenturl&#8217;]==\u201d)<br \/> zen_redirect(zen_href_link(FILENAME_DEFAULT, \u201d, $request_type));<br \/> else<br \/> zen_redirect($_SESSION[&#8216;tempcurrenturl&#8217;]);<br \/> }<\/span><\/span><\/span><\/p>\n<p style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 10px;padding-left: 0px;font-family: Arial, Tahoma, Verdana;font-size: 14px;line-height: 20px\"><span style=\"font-size: 14px\"><span style=\"font-size: 16px\"><span style=\"font-size: 14px\">2\u3001\u7b2c\u4e8c\u4e2a\u6587\u4ef6includes\/modules\/pages\/create_account_success\/header_php.php<br \/> \u5728\u5c3e\u90e8\u589e\u52a0\u4ee5\u4e0b\u4ee3\u7801<br \/> if (sizeof($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot) &lt;= 0 &amp;&amp; $origin_href == zen_href_link(FILENAME_DEFAULT)) {<br \/> $origin_href=$_SESSION[&#8216;tempcurrenturl&#8217;];<br \/> }<\/span><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;\u8981\u4fee\u6539\u4e24\u4e2a\u6587\u4ef6\uff1a 1\u3001\u7b2c\u4e00\u4e2a\u6587\u4ef6 \/includes\/modules\/pages\/login\/header_php.php \u5934\u90e8\u589e\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff0c\u4e3b\u8981\u7528\u4e8e\u589e\u52a0\u4e00\u4e2a\u8f85\u52a9\u7684\u8fdb\u5165\u524d\u7684\u9875\u8bb0\u5f55\uff0c\u5e76\u5c4f\u853d\u51e0\u4e2a\u9875 if(stripos($_SERVER[&#8216;HTTP_REFERER&#8217;],\u2019login\u2019)==false &amp;&amp; stripos($_SERVER[&#8216;HTTP_REFERER&#8217;],\u2019create_account\u2019)==false &amp;&amp; stripos($_SERVER[&#8216;HTTP_REFERER&#8217;],\u2019logoff\u2019)==false) $_SESSION[&#8216;tempcurrenturl&#8217;]=$_SERVER[&#8216;HTTP_REFERER&#8217;]; else if(!isset($_SESSION[&#8216;tempcurrenturl&#8217;])) $_SESSION[&#8216;tempcurrenturl&#8217;]=\u201d; \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 if (sizeof($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot) &gt; 0) { \u4ee5\u4e0b\u4ee3\u7801\u6362\u6210\uff0c\u4e3b\u8981\u7528\u4e8e\u517c\u5bb9\u539f\u4ee3\u7801\uff0c\u5e76\u5bf9\u5931\u6548\u4ee3\u7801\u7684\u91cd\u65b0\u66f4\u6b63 if (sizeof($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot) &gt; 0) { $origin_href = zen_href_link($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot[&#8216;page&#8217;], zen_array_to_string($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot[&#8216;get&#8217;], array(zen_session_name())), $_SESSION[&#8216;navigation&#8217;]-&gt;snapshot[&#8216;mode&#8217;]); $_SESSION[&#8216;tempcurrenturl&#8217;]=$origin_href; $_SESSION[&#8216;navigation&#8217;]-&gt;clear_snapshot(); zen_redirect($origin_href); } else { if($_SESSION[&#8216;tempcurrenturl&#8217;]==\u201d) zen_redirect(zen_href_link(FILENAME_DEFAULT, \u201d, $request_type)); else zen_redirect($_SESSION[&#8216;tempcurrenturl&#8217;]); } 2\u3001\u7b2c\u4e8c\u4e2a\u6587\u4ef6includes\/modules\/pages\/create_account_success\/header_php.php \u5728\u5c3e\u90e8\u589e\u52a0\u4ee5\u4e0b\u4ee3\u7801 if (sizeof($_SESSION[&#8216;navigation&#8217;]-&gt;snapshot) &lt;= 0 &amp;&amp; $origin_href == zen_href_link(FILENAME_DEFAULT)) { [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60685","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60685","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=60685"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60685\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}