{"id":51,"date":"2023-06-05T13:21:42","date_gmt":"2023-06-05T05:21:42","guid":{"rendered":"http:\/\/pro369.com\/php\/?p=51"},"modified":"2020-11-01T14:35:00","modified_gmt":"2020-11-01T06:35:00","slug":"%e7%82%ba%e4%bb%80%e9%ba%bc%e6%88%91%e5%90%91%e5%8f%a6%e4%b8%80%e7%b6%b2%e9%a0%81%e5%82%b3%e9%80%81%e8%ae%8a%e6%95%b8%e6%99%82%e5%8f%aa%e5%be%97%e5%88%b0%e5%89%8d%e5%8d%8a%e9%83%a8%e5%88%86%e4%bb%a5","status":"publish","type":"post","link":"https:\/\/por.tw\/php\/%e7%82%ba%e4%bb%80%e9%ba%bc%e6%88%91%e5%90%91%e5%8f%a6%e4%b8%80%e7%b6%b2%e9%a0%81%e5%82%b3%e9%80%81%e8%ae%8a%e6%95%b8%e6%99%82%e5%8f%aa%e5%be%97%e5%88%b0%e5%89%8d%e5%8d%8a%e9%83%a8%e5%88%86%e4%bb%a5\/","title":{"rendered":"\u70ba\u4ec0\u9ebc\u6211\u5411\u53e6\u4e00\u7db2\u9801\u50b3\u9001\u8b8a\u6578\u6642,\u53ea\u5f97\u5230\u524d\u534a\u90e8\u5206,\u4ee5\u7a7a\u683c\u958b\u982d\u7684\u5247\u5168\u90e8\u4e1f\u5931\uff1f\uff08PHP\u7a0b\u5f0f\u8a2d\u8a08\u554f\u984c\u8207\u7b54\u8986\uff09"},"content":{"rendered":"<p><span style=\"color: #008000; font-size: medium;\"><strong>\u554f\u984c\uff1a<br \/>\n\u8acb\u554f\u70ba\u4ec0\u9ebc\u6211\u5411\u53e6\u4e00\u7db2\u9801\u50b3\u9001\u8b8a\u6578\u6642,\u53ea\u5f97\u5230\u524d\u534a\u90e8\u5206,\u4ee5\u7a7a\u683c\u958b\u982d\u7684\u5247\u5168\u90e8\u4e1f\u5931\uff1f<\/strong><\/span><br \/>\n&lt;?php<br \/>\n$Var=&#8221;hello php&#8221;;\/\/\u4fee\u6539\u70ba$Var=&#8221;\u3000\u3000 hello php&#8221;;\u8a66\u8a66\u5f97\u5230\u4ec0\u9ebc\u7d50\u679c<br \/>\n$post= &#8220;receive.php?Name=&#8221;.$Var;<br \/>\nheader(&#8220;location:$post&#8221;);<br \/>\n?&gt;<br \/>\n<span style=\"color: #800000; font-size: medium;\"><strong>receive.php\u7684\u5167\u5bb9\uff1a<\/strong><\/span><br \/>\n&lt;?PHP<br \/>\nEcho &#8220;&lt;pre&gt;&#8221;;<br \/>\nEcho\u3000 $_GET[&#8220;Name&#8221;];<br \/>\nEcho &#8220;&lt;\/pre&gt;&#8221;;<br \/>\n?&gt;<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/visdacom.com\/php\/wp-content\/uploads\/2019\/08\/PHP-Website-Design-3-650x433.jpg\" alt=\"\" class=\"alignnone size-medium wp-image-375\" width=\"650\" height=\"433\" \/><br \/>\n<span style=\"color: #ff0000; font-size: medium;\"><strong>\u56de\u8986\uff1a<br \/>\n\u6b63\u78ba\u7684\u65b9\u6cd5\u662f:<\/strong><\/span><br \/>\n&lt;?php<br \/>\n$Var=&#8221;hello php&#8221;;<br \/>\n$post= &#8220;receive.php?Name=&#8221;.urlencode($Var);<br \/>\nheader(&#8220;location:$post&#8221;);<br \/>\n?&gt;<br \/>\n<span style=\"color: #800080; font-size: medium;\"><strong>\u5728\u63a5\u6536\u9801\u9762\u4f60\u4e0d\u9700\u8981\u4f7f\u7528Urldecode(),\u8b8a\u6578\u6703\u81ea\u52d5\u7de8\u78bc.<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u554f\u984c\uff1a \u8acb\u554f\u70ba\u4ec0\u9ebc\u6211\u5411\u53e6\u4e00\u7db2\u9801\u50b3\u9001\u8b8a\u6578\u6642,\u53ea\u5f97\u5230\u524d\u534a\u90e8\u5206,\u4ee5\u7a7a\u683c\u958b\u982d\u7684\u5247\u5168\u90e8\u4e1f\u5931\uff1f &lt;?php $Var [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":376,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[22],"class_list":["post-51","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-php"],"_links":{"self":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/51"}],"collection":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media\/376"}],"wp:attachment":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}