{"id":536,"date":"2021-03-08T17:13:03","date_gmt":"2021-03-08T08:13:03","guid":{"rendered":"https:\/\/sgfm.jp\/help\/?p=536"},"modified":"2023-10-25T14:55:04","modified_gmt":"2023-10-25T05:55:04","slug":"php%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f%e3%83%a1%e3%83%bc%e3%83%ab%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%a7%e3%81%ae%e6%b7%bb%e4%bb%98%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/sgfm.jp\/help\/536\/","title":{"rendered":"php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9\uff01"},"content":{"rendered":"\n<p>php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9\u3092\u304a\u63a2\u3057\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n<p>\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u306b\u306f\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u6a5f\u80fd\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u306f\u3001\u3069\u3093\u306a\u3084\u308a\u65b9\u3067\u3001\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<p>\u4eca\u56de\u306f php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9 \u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#php\">php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9\u306e\u6d41\u308c<\/a><\/li><li><a href=\"#html\">\u2460html\u3067\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u672c\u4f53\u3092\u4f5c\u6210\u3059\u308b<\/a><\/li><li><a href=\"#php-2\">\u2781php\u3092\u4f7f\u3063\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9<\/a><ul><li><a href=\"#i\">\u2776\u3053\u3061\u3089\u304c\u3001\u300c\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u300d\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002<\/a><\/li><li><a href=\"#i-2\">\u2777\u3053\u3061\u3089\u304c\u3001\u9001\u4fe1\u5f8c\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002<\/a><\/li><\/ul><\/li><li><a href=\"#i-3\">\u307e\u3068\u3081<\/a><\/li><li><a href=\"#i-4\">\u7121\u6599\u3067\u4f7f\u3048\u308b\u304a\u3059\u3059\u3081\u306e\u30d5\u30a9\u30fc\u30e0\u30b5\u30fc\u30d3\u30b9<\/a><ul><li><a href=\"#No1SuguForm\">\u3010\u304a\u3059\u3059\u3081No1\u3011\u30b9\u30b0\u30d5\u30a9\u30fc\u30e0\uff08SuguForm\uff09<\/a><\/li><li><a href=\"#No2Questant\">\u3010\u304a\u3059\u3059\u3081No2\u3011\u30af\u30a8\u30b9\u30bf\u30f3\u30c8\uff08Questant\uff09<\/a><\/li><li><a href=\"#No3formrun\">\u3010\u304a\u3059\u3059\u3081No3\u3011\u30d5\u30a9\u30fc\u30e0\u30e9\u30f3\uff08formrun\uff09<\/a><\/li><\/ul><\/li><\/ul><\/div>\n<h2><span id=\"php\"><strong>php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9\u306e\u6d41\u308c<\/strong><\/span><\/h2>\n\n\n\n<p>\u3053\u3061\u3089\u3067\u306f\u3001php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9\u306e\u6d41\u308c\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2><span id=\"html\"><strong>\u2460html\u3067\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u672c\u4f53\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/span><\/h2>\n\n\n\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u81ea\u4f53\u306f\u3001html\u3067\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3007\u30d5\u30a9\u30fc\u30e0\u306e\u9805\u76ee\u304c\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u304a\u540d\u524d\uff1a \u203b\u5165\u529b\u5fc5\u9808<\/p>\n\n\n\n<p>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff1a \u203b\u5165\u529b\u5fc5\u9808<\/p>\n\n\n\n<p>\u4ef6\u540d\uff1a \u3000\u3000\u3000\u3000\u203b\u5165\u529b\u5fc5\u9808<\/p>\n\n\n\n<p>\u304a\u554f\u3044\u5408\u308f\u305b\u5185\u5bb9\uff1a \u203b\u5165\u529b\u5fc5\u9808<\/p>\n\n\n\n<p>\u3007html\u306e\u30b3\u30fc\u30c9\u304c\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>&lt;form action=&#8221;phpsample1.php&#8221; method=&#8221;post&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<\/p>\n\n\n\n<p>&lt;table&gt;&lt;tr&gt;<\/p>\n\n\n\n<p>&lt;td&gt;\u304a\u540d\u524d\uff1a&lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;td&gt;&lt;input id=&#8221;nme&#8221; type=&#8221;text&#8221; name=&#8221;fromname&#8221; required&gt;\u203b\u5165\u529b\u5fc5\u9808&lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;\/tr&gt;<\/p>\n\n\n\n<p>&lt;tr&gt;<\/p>\n\n\n\n<p>&lt;td&gt;\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff1a &lt;\/td&gt;&lt;td&gt;&lt;input id=&#8221;adrs&#8221;type=&#8221;text&#8221; name=&#8221;from&#8221; required&gt;\u203b\u5165\u529b\u5fc5\u9808&lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;\/tr&gt;<\/p>\n\n\n\n<p>&lt;tr&gt;<\/p>\n\n\n\n<p>&lt;td&gt;\u4ef6\u540d\uff1a &lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;td&gt;&lt;input id=&#8221;sb&#8221; type=&#8221;text&#8221; name=&#8221;subject&#8221; required&gt;\u203b\u5165\u529b\u5fc5\u9808&lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;\/tr&gt;<\/p>\n\n\n\n<p>&lt;tr&gt;<\/p>\n\n\n\n<p>&lt;td&gt;\u304a\u554f\u3044\u5408\u308f\u305b\u5185\u5bb9\uff1a&lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;td&gt;&lt;textarea id=&#8221;bd&#8221; name=&#8221;body&#8221; cols=&#8221;40&#8243; rows=&#8221;4&#8243; required&gt;&lt;\/textarea&gt;\u203b\u5165\u529b\u5fc5\u9808&lt;\/td&gt;<\/p>\n\n\n\n<p>&lt;\/tr&gt;<\/p>\n\n\n\n<p>&lt;\/table&gt;<\/p>\n\n\n\n<p>&lt;\/form&gt;<\/p>\n\n\n\n<h2><span id=\"php-2\"><strong>\u2781php\u3092\u4f7f\u3063\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9<\/strong><\/span><\/h2>\n\n\n\n<p>\u3053\u3061\u3089\u3067\u306f\u3001php\u3092\u4f7f\u3063\u305f\u90e8\u5206\u306e\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>html\u306f\u3001\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u672c\u4f53\u306e\u4f5c\u6210\u306b\u306a\u308a\u307e\u3059\u304c\u3001php\u306f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u306e\u52d5\u7684\u90e8\u5206\u306e\u4f5c\u6210\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>html\u3067\u4f5c\u6210\u3057\u305f\u5165\u529b\u753b\u9762\u306b\u3001php\u3067\u4f5c\u308b\u753b\u9762\u3092\u3064\u306a\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u305d\u306e\u5f8c\u3001\u9001\u4fe1\u5f8c\u306e\u753b\u9762\u306b\u98db\u3076\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3><span id=\"i\">\u2776\u3053\u3061\u3089\u304c\u3001\u300c\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8\u300d\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/h3>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8<\/p>\n\n\n[code language=&rdquo;css&rdquo;]<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;html lang&quot;ja&quot;&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;head&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;meta charset&quot;UTF-8&quot;&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;title&gt;HTML\u30d5\u30a9\u30fc\u30e0\uff1a\u30d5\u30a1\u30a4\u30eb\u6dfb\u4ed8&lt;\/title&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/head&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;body&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;form action&quot;upload.php&quot; method&quot;post&quot; enctype&quot;multipart\/form-data&quot;&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">\u30d5\u30a1\u30a4\u30eb\uff1a&lt;br&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;input type&quot;file&quot; name&quot;upfile&quot; size&quot;30&quot;&gt;&lt;br&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;input type&quot;submit&quot; value&quot;\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9&quot; \/&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/form&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/body&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/html&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">[\/code]\n\n\n\n<h3><span id=\"i-2\">\u2777\u3053\u3061\u3089\u304c\u3001\u9001\u4fe1\u5f8c\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/h3>\n\n\n\n<p>\u3010upload.php\u3011<\/p>\n\n\n[code language=&rdquo;css&rdquo;]<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;html lang&quot;ja&quot;&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;head&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;meta charset=utf-8&quot;&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;title&gt;sample&lt;\/title&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/head&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;body&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;?php<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">\/\/\u2193upload\u30d5\u30a1\u30a4\u30eb\u306e\u6709\u308a\u7121\u3057\u78ba\u8a8d<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">if (is_uploaded_file($_FILES[&quot;upfile&quot;][&quot;tmp_name&quot;])) {<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">\/\/\u2193\u6709\u52b9\u306a\u30d5\u30a1\u30a4\u30eb\u304b\u3069\u3046\u304b\u3092\u691c\u8a3c\u3057\u3001\u554f\u984c\u306a\u3051\u308c\u3070\u540d\u524d\u3092\u5909\u66f4\u3057\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5b8c\u4e86<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">if (move_uploaded_file($_FILES[&quot;upfile&quot;][&quot;tmp_name&quot;], &quot;files\/&quot; . $_FILES[&quot;upfile&quot;][&quot;name&quot;])) {<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">chmod(&quot;files\/&quot; . $_FILES[&quot;upfile&quot;][&quot;name&quot;], 0644); \/\/\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">echo $_FILES[&quot;upfile&quot;][&quot;name&quot;] . &quot;\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002&quot;;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">} else {<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">echo &quot;\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3002&quot;;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">}<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">} else {<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">echo &quot;\u30d5\u30a1\u30a4\u30eb\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002&quot;;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">}<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">?&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/body&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">&lt;\/html&gt;<\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.38;margin-top:0pt;margin-bottom:0pt\"><span style=\"font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline\">[\/code]\n\n\n\n<p>\u3053\u306e2\u3064\u306e\u30b3\u30fc\u30c9\u3092\u3001html\u306e\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u306b\u57cb\u3081\u8fbc\u3080\u3053\u3068\u3067\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<h2><span id=\"i-3\"><strong>\u307e\u3068\u3081<\/strong><\/span><\/h2>\n\n\n\n<p>\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u9001\u4fe1\u3067\u304d\u308b\u3068\u3001\u3042\u3089\u3086\u308b\u8eab\u5206\u8a3c\u660e\u66f8\u3092\u753b\u50cf\u5909\u63db\u3057\u3066\u3001\u9001\u4ed8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u753b\u50cf\u3092\u3082\u3068\u306b\u8aac\u660e\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u308c\u307e\u3067\u4ee5\u4e0a\u306b\u554f\u3044\u5408\u308f\u305b\u3082\u30e9\u30af\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u30c6\u30ad\u30b9\u30c8\u3082\u753b\u50cf\u306b\u3059\u308c\u3070\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u306e\u3067\u5229\u4fbf\u6027\u304c\u683c\u6bb5\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3001\u81ea\u52d5\u3067\u53d7\u3051\u4ed8\u3051\u5b8c\u4e86\u306e\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u6a5f\u80fd\u3092\u3064\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b8c\u4e86\u753b\u9762\u304c\u53cd\u6620\u3055\u308c\u305f\u5f8c\u306b\u306f\u3001\u554f\u3044\u5408\u308f\u305b\u306b\u5bfe\u3059\u308b\u304a\u793c\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3067\u304d\u308b\u6d41\u308c\u307e\u3067\u3057\u3066\u304a\u304f\u3068\u3055\u3089\u306b\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-sgb-headings sgb-heading\"><div class=\"sgb-heading__inner sgb-heading--type4\" style=\"background-color:#cee7ff;border-color:#cee7ff;font-size:1.2em\"><span class=\"sgb-heading__text\" style=\"color:#333\">\u3061\u306a\u307f\u306bPHP\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u7c21\u5358\u306b\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3063\u3066\u3057\u307e\u3046\u306e\u3082\u4e00\u3064\u306e\u624b\u3067\u3059\uff01<\/span><\/div><\/p>\n\n\n\n<h2><span id=\"i-4\">\u7121\u6599\u3067\u4f7f\u3048\u308b\u304a\u3059\u3059\u3081\u306e\u30d5\u30a9\u30fc\u30e0\u30b5\u30fc\u30d3\u30b9<\/span><\/h2>\n\n\n\n<p><span class=\"keiko_yellow\"><strong>\u7121\u6599\u3067\u4f7f\u3048\u308b\u304a\u3059\u3059\u3081\u306e\u30d5\u30a9\u30fc\u30e0\u30b5\u30fc\u30d3\u30b9<\/strong><\/span>\u3092\u7d39\u4ecb\u3057\u307e\u3059\u306e\u3067\u305c\u3072\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3><span id=\"No1SuguForm\">\u3010\u304a\u3059\u3059\u3081No1\u3011\u30b9\u30b0\u30d5\u30a9\u30fc\u30e0\uff08SuguForm\uff09<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large is-style-sango-with-big-shadow\"><a href=\"https:\/\/sgfm.jp\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" width=\"1024\" height=\"549\" src=\"https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/sgfm.jp_-1024x549-1.png\" alt=\"\" class=\"wp-image-711\" srcset=\"https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/sgfm.jp_-1024x549-1.png 1024w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/sgfm.jp_-1024x549-1-300x161.png 300w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/sgfm.jp_-1024x549-1-768x412.png 768w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/sgfm.jp_-1024x549-1-940x504.png 940w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30b9\u30b0\u30d5\u30a9\u30fc\u30e0\uff08SuguForm\uff09\u306f<strong>\u300e\u30b9\u30b0\u300f\u306b\u30d5\u30a9\u30fc\u30e0\u304c\u4f5c\u308c\u308b<\/strong>\u3068\u3044\u3046\u30ad\u30e3\u30c3\u30c1\u30b3\u30d4\u30fc\u306e\u901a\u308a\u4e88\u3081\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u9078\u3093\u3067\u81ea\u5206\u597d\u307f\u306b\u30ab\u30b9\u30bf\u30e0\u3059\u308b\u3060\u3051\u3067\u7c21\u5358\u306b\u30a2\u30f3\u30b1\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u304c\u4f5c\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u3048\u308b\u6a5f\u80fd\u3082\u8c4a\u5bcc\u3067\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u4f5c\u6210\u6570\u3084\u9805\u76ee\u6570\u304c\u7121\u5236\u9650\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u6570\u3084\u56de\u7b54\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u6570\u3082\u5236\u9650\u306a\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\uff08\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\uff09OK\u3001\u81ea\u52d5\u8fd4\u4fe1\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u3001\u516c\u958b\u671f\u9593\u306e\u8a2d\u5b9a\u3001\u56de\u7b54\u3067\u304d\u308b\u4e0a\u9650\u6570\u306e\u8a2d\u5b9a\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3><span id=\"No2Questant\">\u3010\u304a\u3059\u3059\u3081No2\u3011\u30af\u30a8\u30b9\u30bf\u30f3\u30c8\uff08Questant\uff09<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large is-style-sango-with-big-shadow\"><a href=\"https:\/\/questant.jp\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" width=\"1024\" height=\"528\" src=\"https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-1024x528.png\" alt=\"\" class=\"wp-image-716\" srcset=\"https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-1024x528.png 1024w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-300x155.png 300w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-768x396.png 768w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-1536x793.png 1536w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-2048x1057.png 2048w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/questant.jp_-940x485.png 940w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30af\u30a8\u30b9\u30bf\u30f3\u30c8\u306e\u30a2\u30f3\u30b1\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u306f\u7121\u6599\u30d7\u30e9\u30f3\u3067\u3042\u308c\u3070\u3001\u8cea\u554f\u6570\u306f10\u500b\u307e\u3067\u3067\u3059\u304c\u3001\u30a2\u30f3\u30b1\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u81ea\u4f53\u306f\u7121\u5236\u9650\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u57fa\u672c\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c70\u500b\u4ee5\u4e0a\u5b8c\u5099\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a2\u30f3\u30b1\u30fc\u30c8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u81ea\u4f53\u30921\u304b\u3089\u8003\u3048\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u52b9\u7387\u7684\u306b\u30a2\u30f3\u30b1\u30fc\u30c8\u4f5c\u6210\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u30a2\u30f3\u30b1\u30fc\u30c8\u306f\u81ea\u52d5\u3067\u96c6\u8a08\u3055\u308c\u3001\u3057\u304b\u3082\u81ea\u52d5\u3067\u30b0\u30e9\u30d5\u5316\u307e\u3067\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3><span id=\"No3formrun\">\u3010\u304a\u3059\u3059\u3081No3\u3011\u30d5\u30a9\u30fc\u30e0\u30e9\u30f3\uff08formrun\uff09<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large is-style-sango-with-big-shadow\"><a href=\"https:\/\/form.run\/home\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" width=\"1024\" height=\"528\" src=\"https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-1024x528.png\" alt=\"\" class=\"wp-image-717\" srcset=\"https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-1024x528.png 1024w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-300x155.png 300w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-768x396.png 768w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-1536x793.png 1536w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-2048x1057.png 2048w, https:\/\/sgfm.jp\/wp-content\/uploads\/2021\/08\/form.run_home-940x485.png 940w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30e0\u30e9\u30f3\u306f\u3001Web\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u4f1a\u793e\u30d9\u30fc\u30b7\u30c3\u30af\u304c\u63d0\u4f9b\u3059\u308b\u30a2\u30f3\u30b1\u30fc\u30c8\u30d5\u30a9\u30fc\u30e0\u4f5c\u6210\u30c4\u30fc\u30eb\u3067\u96c6\u307e\u3063\u305f\u56de\u7b54\u3092\u3001Chatwork\u30fbSlack\u306a\u3069\u306e\u5404\u7a2e\u30c1\u30e3\u30c3\u30c8\u30c4\u30fc\u30eb\u3068\u9023\u643a\u3057\u3066\u3001\u5171\u6709\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30b6\u30a4\u30f3\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6027\u304c\u9ad8\u304f\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u30c7\u30b6\u30a4\u30f3\u3092\u81ea\u5206\u597d\u307f\u3067\u3001\u4ed6\u306b\u306f\u306a\u3044\u552f\u4e00\u7121\u4e8c\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u9001\u4fe1\u3055\u308c\u305f\u56de\u7b54\u306f\u3001Google\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3068\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u4fbf\u5229\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u308a\u65b9\u3092\u304a\u63a2\u3057\u3067\u3059\u304b\uff1f \u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u306b\u306f\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u6a5f\u80fd\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3067\u306f\u3001\u3069\u3093\u306a\u3084\u308a\u65b9\u3067\u3001\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f \u4eca\u56de\u306f php\u3092\u4f7f\u3063\u305f\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3067\u306e\u6dfb &#8230; <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/posts\/536"}],"collection":[{"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/comments?post=536"}],"version-history":[{"count":3,"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/posts\/536\/revisions"}],"predecessor-version":[{"id":1578,"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/posts\/536\/revisions\/1578"}],"wp:attachment":[{"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/media?parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/categories?post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sgfm.jp\/help\/wp-json\/wp\/v2\/tags?post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}