Net_Geo::Net_Geo()
Net_Geo::Net_Geo() – constructor
Synopsis
require_once('Net/Geo.php');
bool Net_Geo() (
string $applicationName = ''
, string $alternateServerUrl = ''
)
Описание
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
Замечание
This function can not be called statically.