{"id":1602,"date":"2017-12-10T02:17:31","date_gmt":"2017-12-09T17:17:31","guid":{"rendered":"http:\/\/dona.dip.jp\/?p=1602"},"modified":"2017-12-10T10:16:29","modified_gmt":"2017-12-10T01:16:29","slug":"%e3%81%a9%e3%81%a9%e3%82%93%e3%81%a8%e3%81%b5%e4%bf%ae%e6%ad%a3","status":"publish","type":"post","link":"https:\/\/dona-co.art\/?p=1602","title":{"rendered":"\u3069\u3069\u3093\u3068\u3075\u4fee\u6b63"},"content":{"rendered":"<p>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u51e6\u7406\u306b\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u6709\u3063\u305f\u305f\u3081\u3001index.php 15\u884c\u76ee\u3092\u4fee\u6b63\u3002<\/p>\n<pre>\r\n<code>\r\n\/\/\u30d6\u30e9\u30a6\u30b6\u53d6\u5f97\r\n$array_agent = array(\"MSIE\",\"Chrome\",\"Firefox\");\r\n$h_agent = $_SERVER['HTTP_USER_AGENT'];\r\n$agent;\r\nfor($i=0; $i<2; $i++){\r\n if(strlen(strpos($h_agent,$array_agent[$i]))>0){\r\n  $agent = $array_agent[$i];\r\n  break;\r\n }\r\n}\r\n\/\/Chrome\u306findex.html\u3001\u305d\u308c\u4ee5\u5916\u3092swf\r\n<strong>-<\/strong>  if ($agent == \"Chrome\") {\r\n<strong>+<\/strong>  if (isset($agent) and $agent == \"Chrome\") {\r\n   header('Location: http:\/\/dona.dip.jp\/trpg\/index.html');\r\n    exit;\r\n  } else {\r\n    header('Location: http:\/\/dona.dip.jp\/trpg\/DodontoF.swf');\r\n    exit;\r\n  } \r\n<\/code>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u51e6\u7406\u306b\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u6709\u3063\u305f\u305f\u3081\u3001index.php 15\u884c\u76ee\u3092\u4fee\u6b63\u3002 \/\/\u30d6\u30e9\u30a6\u30b6\u53d6\u5f97 $array_agent = array(&#8220;MSIE&#8221;,&#8221;Chrome&#8221;,&#8221;Firefox&#8221;); $h_agent = $ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[],"class_list":["post-1602","post","type-post","status-publish","format-standard","hentry","category-memo","category-news"],"_links":{"self":[{"href":"https:\/\/dona-co.art\/index.php?rest_route=\/wp\/v2\/posts\/1602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dona-co.art\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dona-co.art\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dona-co.art\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dona-co.art\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1602"}],"version-history":[{"count":3,"href":"https:\/\/dona-co.art\/index.php?rest_route=\/wp\/v2\/posts\/1602\/revisions"}],"predecessor-version":[{"id":1605,"href":"https:\/\/dona-co.art\/index.php?rest_route=\/wp\/v2\/posts\/1602\/revisions\/1605"}],"wp:attachment":[{"href":"https:\/\/dona-co.art\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dona-co.art\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dona-co.art\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}