{"id":202839,"date":"2015-03-11T14:24:27","date_gmt":"2015-03-11T05:24:27","guid":{"rendered":"https:\/\/ja.wordpress.org\/support\/2015\/03\/11\/%e3%83%86%e3%83%bc%e3%83%9e%e5%86%85%e3%81%a7%e3%81%ae%e3%83%aa%e3%83%80%e3%82%a4%e3%83%ac%e3%82%af%e3%83%88%e6%96%b9%e6%b3%95%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/"},"modified":"2015-03-11T14:24:27","modified_gmt":"2015-03-11T05:24:27","slug":"%e3%83%86%e3%83%bc%e3%83%9e%e5%86%85%e3%81%a7%e3%81%ae%e3%83%aa%e3%83%80%e3%82%a4%e3%83%ac%e3%82%af%e3%83%88%e6%96%b9%e6%b3%95%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"closed","type":"topic","link":"https:\/\/ja.wordpress.org\/support\/topic\/%e3%83%86%e3%83%bc%e3%83%9e%e5%86%85%e3%81%a7%e3%81%ae%e3%83%aa%e3%83%80%e3%82%a4%e3%83%ac%e3%82%af%e3%83%88%e6%96%b9%e6%b3%95%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/","title":{"rendered":"\u30c6\u30fc\u30de\u5185\u3067\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u65b9\u6cd5\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u306f\u3058\u3081\u307e\u3057\u3066\u3002<br \/>\nWP\u3092\u4f7f\u7528\u3057\u3001\u5546\u54c1\u306e\u7533\u3057\u8fbc\u307f\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u3088\u3046\u3068\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u3056\u3063\u304f\u308a\u3068\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u306f\u3001\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<br \/>\n1.\u30ed\u30b0\u30a4\u30f3\u753b\u9762<br \/>\n2.\u5546\u54c1\u9078\u629e\u753b\u9762<br \/>\n3.\u7533\u8fbc\u8005\u60c5\u5831\u5165\u529b\u753b\u9762\uff08\u4f4f\u6240\u7b49\uff09<br \/>\n4.\u5165\u529b\u5185\u5bb9\u78ba\u8a8d\u753b\u9762<br \/>\n5.\u5b8c\u4e86\u753b\u9762<br \/>\n\u5165\u529b\u3055\u308c\u305f\u7533\u8fbc\u60c5\u5831\u306f\u3001WP\u5185\u306eDB\u306b\u4fdd\u7ba1\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u521d\u3081\u3066\u306eWP\u3067\u3001\u5168\u3066\u624b\u63a2\u308a\u72b6\u614b\u3067\u3059\u304c\u3001<br \/>\n\u3068\u308a\u3042\u3048\u305a\u3001\u7279\u5225\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\u3001\u5b50\u30c6\u30fc\u30de\u306b\u3066PHP\u306e\u8a18\u8ff0\u3092\u884c\u3044\u3001<br \/>\n\u5165\u529b\u30c1\u30a7\u30c3\u30af\u3084\u767b\u9332\u51e6\u7406\u306a\u3069\u3092\u3001\u884c\u3063\u3066\u3044\u304f\u306e\u3060\u3068\u7406\u89e3\u3057\u3066\u304a\u308a\u307e\u3059\u3002\uff08\u9593\u9055\u3063\u3066\u3044\u305f\u3089\u6307\u6458\u9858\u3044\u307e\u3059\u3002\uff09<br \/>\n\u305d\u3053\u3067\u3001\u5b9f\u969b\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u4f5c\u696d\u3092\u9032\u3081\u3066\u304a\u308a\u3001<br \/>\n\u5b50\u30c6\u30fc\u30de\u306b\u3066\u3001\u5165\u529b\u30c1\u30a7\u30c3\u30af\u985e\u306f\u884c\u3048\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001<br \/>\n\u5b9f\u969b\u5165\u529b\u30c1\u30a7\u30c3\u30af\u3067\u30a8\u30e9\u30fc\u304c\u5408\u3063\u305f\u969b\u3001\u666e\u901a\u306ePHP\u306e\u8a18\u8ff0\u3067\u3042\u308a\u304c\u3061\u306a\u3001<br \/>\n\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u4f7f\u7528\u3057\u3001\u5143\u306e\u753b\u9762\u306b\u623b\u305d\u3046\u3068\u3057\u305f\u969b\u3001<br \/>\n\u30da\u30fc\u30b8\u81ea\u4f53\u306f\u5143\u306e\u753b\u9762\u306b\u623b\u308b\u306e\u3067\u3059\u304c\u3001\u30c6\u30fc\u30de\u304c\u9069\u7528\u3055\u308c\u306a\u3044\u3001<br \/>\nfunctions\u3067\u5b9a\u7fa9\u3057\u305f\u95a2\u6570\u304c\u6a5f\u80fd\u3057\u3066\u3044\u306a\u3044\u306a\u3069\u306e\u554f\u984c\u304c\u751f\u3058\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u8a72\u5f53\u7b87\u6240\u306e\u8a18\u8ff0\u3068\u3057\u3066\u306f\u3001\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n<strong>\u56fa\u5b9a\u30da\u30fc\u30b8:<\/strong><\/p>\n<pre><code>&lt;form id=&quot;form1&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;http:\/\/10.82.142.194\/wordpress\/?page_id=195&quot; &gt;\n        &lt;div style=&quot;margin-bottom:20px;&quot;&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;\n            &lt;input name=&quot;textfield1&quot; type=&quot;text&quot; id=&quot;textfield&quot; maxlength=&quot;4&quot; value=&quot;[getPost(&#039;textfield1&#039;)]&quot; \/&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;- &lt;\/div&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;\n            &lt;input name=&quot;textfield2&quot; type=&quot;text&quot; id=&quot;textfield2&quot; maxlength=&quot;4&quot; \/&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;- &lt;\/div&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;\n            &lt;input name=&quot;textfield3&quot; type=&quot;text&quot; id=&quot;textfield3&quot; maxlength=&quot;4&quot; \/&gt;\n          &lt;\/div&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;- &lt;\/div&gt;\n          &lt;div class=&quot;Textfield&quot;&gt;\n            &lt;input name=&quot;textfield4&quot; type=&quot;text&quot; id=&quot;textfield4&quot; maxlength=&quot;4&quot; \/&gt;\n          &lt;\/div&gt;\n        &lt;\/div&gt;\n        &lt;div&gt;\n          &lt;input type=&quot;submit&quot; name=&quot;button&quot; id=&quot;button&quot; value=&quot;\u9001\u4fe1\u30dc\u30bf\u30f3&quot; \/&gt;\n        &lt;\/div&gt;\n      &lt;\/form&gt;<\/code><\/pre>\n<p><strong>page-itemselect.php\uff08page_id=195\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff09\uff1a<\/strong><\/p>\n<pre><code>if (isset($_POST[&#039;textfield1&#039;]) &amp;&amp; isset($_POST[&#039;textfield2&#039;]) &amp;&amp; isset($_POST[&#039;textfield3&#039;]) &amp;&amp; isset($_POST[&#039;textfield4&#039;])){\n\t\/\/ \u30c0\u30df\u30fc\n} else {\n\t\/\/ \u5143\u306e\u30da\u30fc\u30b8\u306b\u623b\u308b\n\t$page = get_page_by_path(&#039;login&#039;);\n        wp_safe_redirect( get_permalink( $page-&gt;ID ), 307 );\n\texit();\n}<\/code><\/pre>\n<p>WP\u306e\u51e6\u7406\u9806\u5e8f\u3092\u628a\u63e1\u3057\u3066\u3044\u306a\u3044\u304c\u6545\u306e\u554f\u984c\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001<br \/>\n\u4f55\u304b\u5bfe\u5fdc\u65b9\u6cd5\u306f\u3054\u3056\u3044\u307e\u3059\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u307e\u305f\u3001\u305d\u3082\u305d\u3082\u306e\u7406\u89e3\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u70b9\u3054\u6307\u6458\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3001\u5b9c\u3057\u304f\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"template":"","class_list":["post-202839","topic","type-topic","status-closed","hentry","topic-tag-php","topic-tag-redirect","topic-tag-16745"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/202839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/202839\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=202839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}