Net_Geo::Net_Geo()

Net_Geo::Net_Geo() – constructor

Synopsis

require_once('Net/Geo.php');

bool Net_Geo() ( string $applicationName = '' , string $alternateServerUrl = '' )

Description

Create a new object for IP-based geographical information retrieval.

Parameter

  • string $applicationName - Optional application name to use in UserAgent when polling Netgeo

  • string $alternateServerUrl - URL to Netgeo service script, will be set to "http://netgeo.caida.org/perl/netgeo.cgi" unless changed

Return value

boolean - Will always return true

Note

This function can not be called statically.