{"id":259,"date":"2008-04-11T22:38:16","date_gmt":"2008-04-11T13:38:16","guid":{"rendered":"http:\/\/ke-tai.org\/blog\/2008\/04\/11\/imodeid_emu\/"},"modified":"2008-04-12T00:09:21","modified_gmt":"2008-04-11T15:09:21","slug":"imodeid_emu","status":"publish","type":"post","link":"http:\/\/ke-tai.org\/blog\/2008\/04\/11\/imodeid_emu\/","title":{"rendered":"P1\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3092\u4f7f\u3063\u3066i\u30e2\u30fc\u30c9ID\u6a5f\u80fd\u3092\u958b\u767a\u3057\u3066\u307f\u307e\u3057\u305f"},"content":{"rendered":"<p>\u5148\u6708\u672b\u306b\u30b9\u30bf\u30fc\u30c8\u3068\u306a\u3063\u305f<a href=\"http:\/\/ke-tai.org\/blog\/2008\/03\/31\/imodeid_start\/\" target=\"_blank\">\u30c9\u30b3\u30e2\u306ei\u30e2\u30fc\u30c9ID\u6a5f\u80fd<\/a>\u5bfe\u5fdc\u306e\u305f\u3081\u3001\u30b1\u30fc\u30bf\u30a4\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u7686\u69d8\u306f\u3001\u3042\u3061\u3053\u3061\u3067\u4ed5\u4e8b\u306b\u8ffd\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u79c1\u3082\u5148\u65e5\u3001\u4ed5\u4e8b\u3067\u5b9f\u88c5\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3061\u3087\u3046\u3069\u5c11\u3057\u524d\u306b<a href=\"http:\/\/ke-tai.org\/blog\/2008\/03\/25\/p1emu\/\" target=\"_blank\">P1\u30a8\u30df\u30e5\u30ec\u30fc\u30bf<\/a>\u304c\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3001i\u30e2\u30fc\u30c9ID\u306b\u5bfe\u5fdc\u3057\u305f\u3068\u306e\u3053\u3068\u3067\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u5229\u7528\u3057\u3066\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u2192\u3000<a href=\"http:\/\/p1.netfarm.ne.jp\/modules\/p1emu\/releasenote.htm\" target=\"_blank\">P1 Emulator\u3000\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/a> <small>[netfarm.ne.jp]<\/small><\/p>\n<p class=\"spacer-small\">&nbsp;<\/p>\n<p>\u307e\u305a\u306f\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u5074\u306e\u8a2d\u5b9a\u304b\u3089\u3067\u3059\u3002<br \/>\ni\u30e2\u30fc\u30c9ID\u306e\u8a2d\u5b9a\u306f\u3001\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u30aa\u30d7\u30b7\u30e7\u30f3\u300d\u2192\u300c\u5168\u822c\u8a2d\u5b9a\u300d\u2192\u300c\u9ad8\u5ea6\u306a\u8a2d\u5b9a\u300d\u30bf\u30d6\u304b\u3089\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3072\u3068\u307e\u305ai\u30e2\u30fc\u30c9ID\u3092\u300cabcdefg\u300d\u3068\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/ke-tai.org\/blog\/wp-content\/uploads\/2008\/04\/20080411_imodeid_01.png\" alt=\"20080411_imodeid_01.png\" \/><\/p>\n<p>\u03b2\u7248\u3067\u306f\u5236\u9650\u304c\u3042\u308b\u65e8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3001xxxxx\u3067\u30de\u30b9\u30af\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\n\u306a\u308a\u3059\u307e\u3057\u306e\u30c6\u30b9\u30c8\u306b\u306f\u5229\u7528\u3067\u304d\u306a\u3055\u305d\u3046\u3067\u3059\u306d\u3002<br \/>\n\u03b2\u7248\u4ee5\u5916\u3067\u306f\u89e3\u9664\u3055\u308c\u308b\u3088\u3046\u306b\u8aad\u3081\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u6b63\u5f0f\u7248\u3092\u8cfc\u5165\u3055\u305b\u308b\u305f\u3081\u306e\u6a5f\u80fd\u5236\u9650\u3067\u3057\u3087\u3046\u304b\u3001\u305d\u308c\u3068\u3082\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u305f\u3081\u306a\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/ke-tai.org\/blog\/wp-content\/uploads\/2008\/04\/20080411_imodeid_02.png\" alt=\"20080411_imodeid_02.png\" \/><\/p>\n<p class=\"spacer-small\">&nbsp;<\/p>\n<p>\u3055\u3066\u3001\u7d9a\u3044\u3066\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u5074\u3067\u3059\u3002<br \/>\n\u4ed5\u4e8b\u3067\u306f\u304b\u3093\u305f\u3093\u30ed\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u3055\u3059\u304c\u306b\u305d\u308c\u306f\u516c\u958b\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u3057\u3066\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u7528\u610f\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\ni\u30e2\u30fc\u30c9ID\u304c\u53d6\u308c\u306a\u3051\u308c\u3070\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u300cguid=ON\u300d\u3092\u4ed8\u3051\u3001id\u3092\u53d6\u5f97\u3059\u308b\u4ed5\u639b\u3051\u3067\u3059\u3002<\/p>\n<pre class=\"super-pre-small\"><code>&lt;?php\r\n\/\/ i\u30e2\u30fc\u30c9ID\u53d6\u5f97\u306e\u305f\u3081\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4ed8\u3044\u3066\u3044\u306a\u3051\u308c\u3070\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\n$agent = $_SERVER['HTTP_USER_AGENT'];\r\nif (preg_match('\/^DoCoMo\/', $agent) and !isset($_GET['guid'])) {\r\n\tredirect($_SERVER['SCRIPT_NAME'] . '?guid=ON');\r\n}\r\n\r\necho 'i\u30e2\u30fc\u30c9ID:' . $_SERVER['HTTP_X_DCMGUID'];\r\n\r\n\/\/ \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\r\nfunction redirect($page) {\r\n\t$url = 'http:\/\/' . $_SERVER['HTTP_HOST'] . $page;\r\n\theader(sprintf(\"Location: %s\", $url));\r\n\texit;\r\n}\r\n?&gt;\r\n<\/code><\/pre>\n<p>\u7121\u4e8b\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/ke-tai.org\/blog\/wp-content\/uploads\/2008\/04\/20080411_imodeid_03.png\" alt=\"20080411_imodeid_03.png\" \/><\/p>\n<p>i\u30e2\u30fc\u30c9ID\u306f\u57fa\u672c\u7684\u306b\u5b9f\u6a5f\u304c\u306a\u3044\u3068\u30c6\u30b9\u30c8\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u305f\u3081\u4fbf\u5229\u3067\u3059\u306d\u3002<br \/>\n\u30c9\u30b3\u30e2\u516c\u5f0f\u306e\u300ci\u30e2\u30fc\u30c9HTML\u30b7\u30df\u30e5\u30ec\u30fc\u30bfII\u300d\u3082\u3001\u65e9\u304f\u5bfe\u5fdc\u3057\u3066\u6b32\u3057\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<p class=\"spacer\">&nbsp;<\/p>\n<p><strong><em>\u95a2\u9023\uff1a<\/em><\/strong><\/p>\n<ul>\n<li><em><a href=\"http:\/\/ke-tai.org\/blog\/2008\/03\/31\/imodeid_start\/\">\u672c\u65e5\u63d0\u4f9b\u304c\u958b\u59cb\u3055\u308c\u305f\u300ci\u30e2\u30fc\u30c9ID\u300d\u6a5f\u80fd\u3092\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f<\/a><\/em><\/li>\n<li><em><a href=\"http:\/\/ke-tai.org\/blog\/2008\/03\/25\/p1emu\/\">3\u30ad\u30e3\u30ea\u30a2\u5bfe\u5fdc\u306e\u65b0\u30b1\u30fc\u30bf\u30a4\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u300cP1 Emulator\u300d\u3068\u5b9f\u6a5f\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u305f<\/a><\/em><\/li>\n<li><em><a href=\"http:\/\/ke-tai.org\/blog\/2007\/11\/02\/useragent_switcher\/\">PC\u304b\u3089\u30b1\u30fc\u30bf\u30a4\u306e\u30e6\u30fc\u30b6\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u8a50\u79f0\u3059\u308b\u306b\u306f(Firefox\u7de8)<\/a><\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u6708\u672b\u306b\u30b9\u30bf\u30fc\u30c8\u3068\u306a\u3063\u305f\u30c9\u30b3\u30e2\u306ei\u30e2\u30fc\u30c9ID\u6a5f\u80fd\u5bfe\u5fdc\u306e\u305f\u3081\u3001\u30b1\u30fc\u30bf\u30a4\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u7686\u69d8\u306f\u3001\u3042\u3061\u3053\u3061\u3067\u4ed5\u4e8b\u306b\u8ffd\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3068\u601d\u3044\u307e\u3059\u3002 \u79c1\u3082\u5148\u65e5\u3001\u4ed5\u4e8b\u3067\u5b9f\u88c5\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3061\u3087\u3046\u3069\u5c11\u3057\u524d\u306bP1\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u304c\u30d0\u30fc\u30b8 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/posts\/259"}],"collection":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/comments?post=259"}],"version-history":[{"count":0,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/posts\/259\/revisions"}],"wp:attachment":[{"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/media?parent=259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/categories?post=259"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ke-tai.org\/blog\/wp-json\/wp\/v2\/tags?post=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}