Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

fbGeoIP_Free_Ascii Class Reference

List of all members.

Detailed Description

Geo IP Free ASCII file database class.

Todo:
make caching optional?

Definition at line 27 of file Ascii.php.

Static Public Member Functions

 _formatIP4address ($ip, $format= '%03d.%03d.%03d.%03d')
 getCountryIdByIP ($ip)
 getCountryIdByHostName ($name)
 getCountryNameByIP ($ip)
 getCountryNameByHostName ($name)


Member Function Documentation

fbGeoIP_Free_Ascii::_formatIP4address ip,
format = '%03d.%03d.%03d.%03d'
[static]
 

Definition at line 31 of file Ascii.php.

References fbDebug::log().

Referenced by getCountryIdByIP().

fbGeoIP_Free_Ascii::getCountryIdByHostName name  )  [static]
 

Definition at line 100 of file Ascii.php.

References getCountryIdByIP().

Referenced by getCountryNameByHostName().

fbGeoIP_Free_Ascii::getCountryIdByIP ip  )  [static]
 

Definition at line 50 of file Ascii.php.

References _formatIP4address(), and fbDebug::log().

Referenced by getCountryIdByHostName(), and getCountryNameByIP().

fbGeoIP_Free_Ascii::getCountryNameByHostName name  )  [static]
 

Definition at line 122 of file Ascii.php.

References getCountryIdByHostName(), and getCountryName().

fbGeoIP_Free_Ascii::getCountryNameByIP ip  )  [static]
 

Definition at line 111 of file Ascii.php.

References getCountryIdByIP(), and getCountryName().


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:52:31 2004 for Freebeer by doxygen 1.3.6-20040222