{"id":402,"date":"2004-01-04T18:56:17","date_gmt":"2004-01-04T09:56:17","guid":{"rendered":"http:\/\/alm-ore.com\/blog\/archives\/2004\/01\/imode.html"},"modified":"2015-12-20T10:15:12","modified_gmt":"2015-12-20T01:15:12","slug":"imode","status":"publish","type":"post","link":"https:\/\/alm-ore.com\/blog\/archives\/2004\/01\/imode.html","title":{"rendered":"i-mode \u5bfe\u5fdc"},"content":{"rendered":"<p>i-mode \u3067\u898b\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f \uff08\u307b\u304b\u306e\u30b1\u30fc\u30bf\u30a4\u306f\u6301\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u30c6\u30b9\u30c8\u3067\u304d\u307e\u305b\u3093\uff09\uff0e<br \/>\n\u3046\u3061\u306f\u6587\u5b57\u30b3\u30fc\u30c9\u304cUTF-8\u306a\u3093\u3067\u3059\u304c\uff0ci-mode \u3060\u3068\u5b8c\u74a7\u306b\u6587\u5b57\u5316\u3051\u3059\u308b\u306e\u3067\uff0e<br \/>\n\u3064\u30fc\u304b\uff0c\u307b\u3068\u3093\u3069\u8ab0\u3082\u898b\u306b\u6765\u306a\u3044\u306e\u306b\uff0c\u3055\u3089\u306b\u30a2\u30af\u30bb\u30b9\u306e\u5c11\u306a\u305d\u3046\u306a\u30b1\u30fc\u30bf\u30a4\u5bfe\u5fdc\u7248\u3092\u4f5c\u3063\u3066\u3069\u3046\u3059\u308b\u3063\u3066\u8a00\u3046\u8a71\u3082\u3042\u308a\u307e\u3059\u304c\uff0e<\/p>\n<p>i-mode \u3092\u6301\u3063\u3066\u3044\u3066\uff0c\u30d1\u30b1\u30c3\u30c8\u4ee3\u306e\u60dc\u3057\u304f\u306a\u3044\u4eba\u306f\uff0c<a href=\"https:\/\/alm-ore.com\/blog\/\">https:\/\/alm-ore.com\/alm-ore\/<\/a> \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u3066\uff0cPC\u3068\u306e\u6319\u52d5\u306e\u9055\u3044\u3092\u78ba\u304b\u3081\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e<\/p>\n<p>\u4ee5\u4e0b\uff0c\u3084\u3063\u305f\u3053\u3068\u30ea\u30b9\u30c8<\/p>\n<p><!--more--><\/p>\n<h3> 1. mt4i.cgi \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p><a href=\"http:\/\/www.hazama.nu\/t2o2\/mt4i.shtml\">\u3053\u3053\u8aad\u3081\u3070<\/a>\uff0c\u50d5\u304c\u304f\u3069\u304f\u3069\u8aac\u660e\u3059\u308b\u3088\u308a\u3082\uff0c100\u500d\u826f\u304f\u308f\u304b\u308a\u307e\u3059\uff0e\u8a00\u308f\u308c\u305f\u3068\u304a\u308a\u3084\u308c\u3070\uff0c\u30cf\u30de\u3089\u306a\u3044\u3057\uff0e<\/p>\n<h3>2. URL\u306e\u901a\u77e5\u306b\u4e0d\u5b89\u3092\u62b1\u304f<\/h3>\n<p>mt4i.cgi \u306f\uff0c\u305d\u306e\u307e\u307e\u3060\u3068 i-mode \u30e6\u30fc\u30b6\u30fc\u306f  \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\uff0e<br \/>\n\u3053\u306eURL\u3092\u30a2\u30ca\u30a6\u30f3\u30b9\u3059\u308b\u306e\u304c\u30b9\u30b8\u3063\u3066\u3082\u3093\u3067\u3057\u3087\u3046\u304c\uff0c\u3046\u3061\u306ePC\u7528\u306eURL\u3060\u3063\u3066\u3042\u307e\u308a\u8a8d\u77e5\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u306b\uff0c\u5225\u9014 i-mode \u7528\u306eURL\u3092\u8a8d\u77e5\u3055\u305b\u308b\u306e\u306f\uff0c\u3046\u3061\u306e\u30cd\u30b3\u306b\u30c8\u30a4\u30ec\u306e\u5834\u6240\u3092\u6559\u3048\u308b\u4ee5\u4e0a\u306b\u56f0\u96e3\u306a\u308f\u3051\u3067\uff0e\uff0e\uff0e<\/p>\n<p>\u305d\u3053\u3067\u8003\u3048\u305f\uff0e\u901a\u5e38\u306e<a href=\"https:\/\/alm-ore.com\/blog\/\">Main\u30da\u30fc\u30b8<\/a>\u3067\uff0ci-mode \u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092\u691c\u77e5\u3057\u3066\uff0c\u632f\u308a\u5206\u3051\u308c\u3070\u3088\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\uff0e<\/p>\n<h3>3. perl \u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a perl \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u3063\u3066\uff0cmobilecheck.cgi \u3068\u3044\u3046\u540d\u524d\u3092\u3064\u3051\u3066\u307f\u305f\u308a\uff0cmt.cgi \u3068\u304b\u304c\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u3066\u307f\u305f\u308a\uff0cchmod 755 \u3057\u3066\u307f\u305f\u308a\u3057\u307e\u3057\u305f\uff0e<br \/>\n&#8212; From Here &#8212;<br \/>\n#!\/usr\/local\/bin\/perl<\/p>\n<p>$UserAgent = $ENV{&#8216;HTTP_USER_AGENT&#8217;};<\/p>\n<p>if ($UserAgent =~ \/^DoCoMo\/) {<br \/>\nprint &#8220;&#038;ltcenter&#038;gt&#8221;;<br \/>\nprint &#8220;&#038;lta href=\\&#8221;https:\/\/alm-ore.com\/alm-ore\/mt4i.cgi\\&#8221;&#038;gtalm-ore for mobile&#038;lt\/a&#038;gt&#8221;;<br \/>\nprint &#8220;&#038;lt\/center>&#038;lthr&#038;gt&#8221;;<br \/>\nprint &#8220;&#038;ltp&#038;gtIf you access via mobile phone, &#038;lta href=\\&#8221;https:\/\/alm-ore.com\/alm-ore\/mt4i.cgi\\&#8221;&#038;gtCLICK HERE&#038;lt\/a&#038;gt to go to alm-ore.&#038;lt\/p&#038;gt&#8221;;<br \/>\nprint &#8220;&#038;ltp>Although Your terminal may display strange characters bellow, don&#8217;t worry.&#038;lt\/p&#038;gt&#8221;;<br \/>\n}<br \/>\n&#8212;\u3000Until Here&#8212;<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5185\u5bb9\u306f\uff0c\u8061\u660e\u306a\u7686\u69d8\u306b\u306f\u6539\u3081\u3066\u8aac\u660e\u3059\u308b\u3053\u3068\u3082\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u304c\uff0c<\/p>\n<ol>\n<li>\u30d6\u30e9\u30a6\u30b6\u30fc\u306e HTTP_USER_AGENT \u3092\u8abf\u3079\u308b<\/li>\n<li>User Agent \u306e\u6587\u5b57\u5217\u304c &#8220;Docomo&#8221; \u3067\u59cb\u307e\u3063\u3066\u3044\u308c\u3070\uff0c\u30a2\u30ca\u30a6\u30f3\u30b9\u3092\u51fa\u3059<\/li>\n<li>\u30a2\u30ca\u30a6\u30f3\u30b9\u306e\u5185\u5bb9\u306f\u300c\u30e2\u30d0\u30a4\u30eb\u7528\u306e\u30da\u30fc\u30b8\u3078\u884c\u3051\u300d\uff0c\u300c\u4e0b\u306e\u65b9\u306f\u6587\u5b57\u304c\u30d0\u30b1\u30d0\u30b1\u3060\u3051\u3069\uff0c\u5fc3\u914d\u3059\u308b\u306a\u300d\uff0e\uff08\u3069\u3046\u3057\u3066\u3082\uff0cUTF-8 \u306e\u5185\u5bb9\u3082\u4e00\u7dd2\u306b\u6587\u5b57\u5316\u3051\u3057\u305f\u307e\u307e\u51fa\u3066\u3057\u307e\u3046\u306e\u3067\uff0c\u5b89\u5fc3\u3055\u305b\u308b\u76ee\u7684\u3068\uff0c\u4e00\u676f\u6587\u5b57\u3092\u66f8\u304d\u8fbc\u3093\u3067\u304a\u3051\u3070\uff0c\u6587\u5b57\u5316\u3051\u3057\u305f\u5185\u5bb9\u305d\u306e\u3082\u306e\u304c\u753b\u9762\u304b\u3089\u8ffd\u3044\u51fa\u3055\u308c\u308b\u3060\u308d\u3046\u3068\u3044\u3046\u671f\u5f85\uff09<\/li>\n<\/ol>\n<p>\u304c\u4e3b\u306a\u304a\u4ed5\u4e8b\u3067\u3059\uff0e<\/p>\n<h3>4. Main Index \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u7d30\u5de5<\/h3>\n<p>&lt;body&#038;gt \u306e\u3059\u3050\u3057\u305f\u3042\u305f\u308a\u306b\uff0cSSI\u3067<br \/>\n&lt;!&#8211;#exec cmd=&#8221;.\/mobilecheck.cgi&#8221; &#8211;&#038;gt<br \/>\n\u3092\u57cb\u3081\u8fbc\u3093\u3067\u307f\u308b\uff0e<\/p>\n<p>\u3082\u3063\u3068\u30aa\u30b5\u30ec\u3052\u3067\uff0c\u30b9\u30de\u30fc\u30c8\u306a\u3084\u308a\u65b9\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\uff0c\u307e\u3041\u3053\u3093\u306a\u3068\u3053\u308d\u3067\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Movable Type \u3092 i-mode \u3067\u95b2\u89a7\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b &#8220;mt4i.cgi&#8221; \u306e\u5c0e\u5165\uff0e<br \/>\n <a href=\"https:\/\/alm-ore.com\/blog\/archives\/2004\/01\/imode.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-402","post","type-post","status-publish","format-standard","hentry","category-pc-junkie"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/posts\/402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/comments?post=402"}],"version-history":[{"count":0,"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/posts\/402\/revisions"}],"wp:attachment":[{"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/media?parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/categories?post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alm-ore.com\/blog\/wp-json\/wp\/v2\/tags?post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}