0345異邦ジン ★
2013/06/22(土) 18:41:53.55ID:???0携帯の規制って、こんな構造なんですよねー。
if ( IPアドレス->find(Imode) )
elsif ( IPアドレス->find(ezWeb) )
elsif ( IPアドレス->find(Vodafone) )
elsif ( IPアドレス->find(emobile) )
elsif ( IPアドレス->find(DoCoMo) )
elsif ( IPアドレス->find(YahooBB) )
elsif ( IPアドレス->find(auKDDI) )
elsif ( ホスト =~ /携帯ブラウザ/ )
elsif ( ホスト =~ /emobile/ )
IPアドレスがイーモバイルに該当したら携帯扱い。
後ろのホストで捕まえたらモバイル扱い。
つまり、帯域とホストの形状がはっきりすれば対応可能かな。