diff --git a/reference/geoip/functions/geoip-isp-by-name.xml b/reference/geoip/functions/geoip-isp-by-name.xml new file mode 100644 index 0000000000..31b5490182 --- /dev/null +++ b/reference/geoip/functions/geoip-isp-by-name.xml @@ -0,0 +1,98 @@ + + + + + geoip_isp_by_name + Get the Internet Service Provider (ISP) name + + + &reftitle.description; + + stringgeoip_isp_by_name + stringhostname + + + + The geoip_isp_by_name function will return the name of + the Internet Service Provider (ISP) that an IP is assigned to. + + + This function is currently only available to users who have bought a commercial + GeoIP ISP Edition. A warning will be issued if the proper database cannot be + located. + + + + + &reftitle.parameters; + + + + hostname + + + The hostname or IP address. + + + + + + + + &reftitle.returnvalues; + + Returns the ISP name on success, or &false; if the address + cannot be found in the database. + + + + + &reftitle.examples; + + + A <function>geoip_isp_by_name</function> example + + This will print the ISP name of host example.com. + + + +]]> + + &example.outputs; + + + + + + + + + +