{"id":49,"date":"2012-12-18T16:51:33","date_gmt":"2012-12-18T08:51:33","guid":{"rendered":"http:\/\/140.112.31.82\/wordpress\/?p=49"},"modified":"2012-12-18T16:51:33","modified_gmt":"2012-12-18T08:51:33","slug":"%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b","status":"publish","type":"post","link":"https:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b","title":{"rendered":"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b"},"content":{"rendered":"<p><span style=\"color: #ff0000;\"><strong>GET \u00a0 <a href=\" http:\/\/140.112.31.82\/example.php?val=9\">\u00a0http:\/\/140.112.31.82\/example.php?val=9<\/a><\/strong><\/span><\/p>\n<p>&lt;?php<br \/>\nif(count($_GET)&gt;0){<br \/>\nfor($i=1;$i&lt;=<span style=\"color: #ff6600;\">$_GET[&#8220;val\"]<\/span>;$i++){<br \/>\nfor($j=1;$j&lt;=<span style=\"color: #ff6600;\">$_GET[&#8220;val\"]<\/span>;$j++){<br \/>\necho &#8220;$i*$j=\".$i*$j.\"&lt;br&gt;\";<br \/>\n}<br \/>\necho &#8220;=======&lt;br&gt;\";<br \/>\n}<br \/>\n}<br \/>\n?&gt;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>POST \u00a0 \u00a0<a href=\" http:\/\/140.112.31.82\/example2.php\"><strong>http:\/\/140.112.31.82\/example2.php<\/strong><\/a><\/strong><\/span><\/p>\n<p>&lt;form action=\"\" method=\"<span style=\"color: #ff6600;\">post<\/span>\" name=\"form1&#8243;&gt;&lt;br&gt;<br \/>\nPlease input value:<br \/>\n&lt;input name=\"val\" type=\"text\" value=\"9&#8243;&gt;<br \/>\n&lt;input name=\"submit\" type=\"submit\" value=\"ok\"&gt;&lt;br&gt;<\/p>\n<p>&lt;?php<br \/>\nif(count($_POST)&gt;0){<br \/>\nfor($i=1;$i&lt;=<span style=\"color: #ff6600;\">$_POST[&#8220;val\"]<\/span>;$i++){<br \/>\nfor($j=1;$j&lt;=<span style=\"color: #ff6600;\">$_POST[&#8220;val\"]<\/span>;$j++){<br \/>\necho &#8220;$i*$j=\".$i*$j.\"&lt;br&gt;\";<br \/>\n}<br \/>\necho &#8220;=======&lt;br&gt;\";<br \/>\n}<br \/>\n}<br \/>\n?&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GET \u00a0 \u00a0http:\/\/140.112.31.82\/example.php?val=9 &lt;?php if(count($_GET)&gt;0){ for($i=1;$i&lt;=$_GET[&#8220;val\"];$i++){ for($j=1;$j&lt;=$_GET[&#8220;val\"];$j++){ echo &#8220;$i*$j=\".$i*$j.\"&lt;br&gt;\"; } echo &#8220;=======&lt;br&gt;\"; } } ?&gt; POST \u00a0 \u00a0http:\/\/140.112.31.82\/example2.php &lt;form action=\"\" method=\"post\" name=\"form1&#8243;&gt;&lt;br&gt; Please input value: &lt;input name=\"val\" type=\"text\" value=\"9&#8243;&gt; &lt;input name=\"submit\" type=\"submit\" value=\"ok\"&gt;&lt;br&gt; &lt;?php if(count($_POST)&gt;0){ for($i=1;$i&lt;=$_POST[&#8220;val\"];$i++){ for($j=1;$j&lt;=$_POST[&#8220;val\"];$j++){ echo &#8220;$i*$j=\".$i*$j.\"&lt;br&gt;\"; } echo &#8220;=======&lt;br&gt;\"; } } ?&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[4],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/cflin.com\/wordpress\/49\/\u7b2c\u56db\u5802-php-post-get-\u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\" \/>\n<meta property=\"og:description\" content=\"GET \u00a0 \u00a0http:\/\/140.112.31.82\/example.php?val=9 &lt;?php if(count($_GET)&gt;0){ for($i=1;$i&lt;=$_GET[&#8220;val&quot;];$i++){ for($j=1;$j&lt;=$_GET[&#8220;val&quot;];$j++){ echo &#8220;$i*$j=&quot;.$i*$j.&quot;&lt;br&gt;&quot;; } echo &#8220;=======&lt;br&gt;&quot;; } } ?&gt; POST \u00a0 \u00a0http:\/\/140.112.31.82\/example2.php &lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;form1&#8243;&gt;&lt;br&gt; Please input value: &lt;input name=&quot;val&quot; type=&quot;text&quot; value=&quot;9&#8243;&gt; &lt;input name=&quot;submit&quot; type=&quot;submit&quot; value=&quot;ok&quot;&gt;&lt;br&gt; &lt;?php if(count($_POST)&gt;0){ for($i=1;$i&lt;=$_POST[&#8220;val&quot;];$i++){ for($j=1;$j&lt;=$_POST[&#8220;val&quot;];$j++){ echo &#8220;$i*$j=&quot;.$i*$j.&quot;&lt;br&gt;&quot;; } echo &#8220;=======&lt;br&gt;&quot;; } } ?&gt;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/cflin.com\/wordpress\/49\/\u7b2c\u56db\u5802-php-post-get-\u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b\" \/>\n<meta property=\"og:site_name\" content=\"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\" \/>\n<meta property=\"article:published_time\" content=\"2012-12-18T08:51:33+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chifu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cflin.com\/wordpress\/#website\",\"url\":\"https:\/\/cflin.com\/wordpress\/\",\"name\":\"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\",\"description\":\"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed python \u8ab2\u7a0b\u76f8\u95dc\u8cc7\u6599\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cflin.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b#webpage\",\"url\":\"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b\",\"name\":\"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\",\"isPartOf\":{\"@id\":\"https:\/\/cflin.com\/wordpress\/#website\"},\"datePublished\":\"2012-12-18T08:51:33+00:00\",\"dateModified\":\"2012-12-18T08:51:33+00:00\",\"author\":{\"@id\":\"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa\"},\"breadcrumb\":{\"@id\":\"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/cflin.com\/wordpress\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa\",\"name\":\"Chifu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g\",\"caption\":\"Chifu\"},\"sameAs\":[\"http:\/\/cflin.com\"],\"url\":\"https:\/\/cflin.com\/wordpress\/author\/daky\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/cflin.com\/wordpress\/49\/\u7b2c\u56db\u5802-php-post-get-\u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b","og_locale":"zh_TW","og_type":"article","og_title":"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","og_description":"GET \u00a0 \u00a0http:\/\/140.112.31.82\/example.php?val=9 &lt;?php if(count($_GET)&gt;0){ for($i=1;$i&lt;=$_GET[&#8220;val\"];$i++){ for($j=1;$j&lt;=$_GET[&#8220;val\"];$j++){ echo &#8220;$i*$j=\".$i*$j.\"&lt;br&gt;\"; } echo &#8220;=======&lt;br&gt;\"; } } ?&gt; POST \u00a0 \u00a0http:\/\/140.112.31.82\/example2.php &lt;form action=\"\" method=\"post\" name=\"form1&#8243;&gt;&lt;br&gt; Please input value: &lt;input name=\"val\" type=\"text\" value=\"9&#8243;&gt; &lt;input name=\"submit\" type=\"submit\" value=\"ok\"&gt;&lt;br&gt; &lt;?php if(count($_POST)&gt;0){ for($i=1;$i&lt;=$_POST[&#8220;val\"];$i++){ for($j=1;$j&lt;=$_POST[&#8220;val\"];$j++){ echo &#8220;$i*$j=\".$i*$j.\"&lt;br&gt;\"; } echo &#8220;=======&lt;br&gt;\"; } } ?&gt;","og_url":"http:\/\/cflin.com\/wordpress\/49\/\u7b2c\u56db\u5802-php-post-get-\u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b","og_site_name":"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","article_published_time":"2012-12-18T08:51:33+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Chifu","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/cflin.com\/wordpress\/#website","url":"https:\/\/cflin.com\/wordpress\/","name":"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","description":"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed python \u8ab2\u7a0b\u76f8\u95dc\u8cc7\u6599","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cflin.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b#webpage","url":"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b","name":"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","isPartOf":{"@id":"https:\/\/cflin.com\/wordpress\/#website"},"datePublished":"2012-12-18T08:51:33+00:00","dateModified":"2012-12-18T08:51:33+00:00","author":{"@id":"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa"},"breadcrumb":{"@id":"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/cflin.com\/wordpress\/49\/%e7%ac%ac%e5%9b%9b%e5%a0%82-php-post-get-%e4%b9%9d%e4%b9%9d%e4%b9%98%e6%b3%95%e7%af%84%e4%be%8b#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/cflin.com\/wordpress"},{"@type":"ListItem","position":2,"name":"[\u7b2c\u4e94\u5802] PHP POST &amp; GET \u4e5d\u4e5d\u4e58\u6cd5\u7bc4\u4f8b"}]},{"@type":"Person","@id":"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa","name":"Chifu","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g","caption":"Chifu"},"sameAs":["http:\/\/cflin.com"],"url":"https:\/\/cflin.com\/wordpress\/author\/daky"}]}},"_links":{"self":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/posts\/49"}],"collection":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":0,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"wp:attachment":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}