| Apache2 :: Geo :: IP Procure país por endereço IP |
Baixe Agora |
Apache2 :: Geo :: IP Classificação e resumo
- Licença:
- Perl Artistic License
- Nome do editor:
- Randy Kobes
- Site do editor:
- http://search.cpan.org/~rkobes/
Apache2 :: Geo :: IP Tag
Apache2 :: Geo :: IP Descrição
Procurar país por endereço IP Apache2 :: ic :: ip é um módulo Perl para o país de pesquisa por endereço IP.Synopsis # em httpd.conf # perlmodule apache2 :: helloip # # sethandler perl-script # perlresponseshandler apache2 :: hellow # perlsetvar geoipdbfile /usr/local/share/geoip/geoip.dat "# PerlSetvar GeoipFlag Padrão # PerlSetvar GeoPxForwardFor 1 # # Arquivo Apache2 :: Helloip use Apache2 :: GEO :: IP; Use rigoroso; Use Apache2 :: Const -Compile => 'OK'; Sub manipulador {my $ r = apache2 :: geo :: ip-> novo (turno); $ r-> content_type ('texto / planície'); Meu país $ Country = UC ($ r-> Country_code_by_addr ()); $ r-> Imprimir ($ Country); Retornar Apache2 :: OK; } 1; Requisitos: · Perl.
Apache2 :: Geo :: IP Software Relacionado