Hi I am also having a problem with the PEAR Net_Geo package, I have been able to install it fine, I have version 1.0.5 which is supposed to be compatible with PHP 4.0.0 and above I also have the required dependencies so, in theory it should work, however, I seem to get a page full of errors and all the fields that should be filled in are blank apart from the IP address, as follows
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in G:\xampp\php\PEAR\Net\Geo.php on line 449
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in G:\xampp\php\PEAR\Cache\Container\file.php on line 130
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in G:\xampp\php\PEAR\Cache\Container.php on line 364
Strict Standards: Only variables should be assigned by reference in G:\xampp\php\PEAR\Net\Geo.php on line 561
Notice: Undefined variable: text in G:\xampp\php\PEAR\Net\Geo.php on line 721
Notice: Undefined index: COUNTRY in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 40
Notice: Undefined index: CITY in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 41
Notice: Undefined index: STATE in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 41
Notice: Undefined index: LAT in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 42
Notice: Undefined index: LONG in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 43
Our spies tell us the following information about you:
IP Address: 127.0.0.1
Country:
City, State: ,
Latitude:
Longitude:
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in G:\xampp\php\PEAR\Net\Geo.php on line 449
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in G:\xampp\php\PEAR\Cache\Container\file.php on line 130
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in G:\xampp\php\PEAR\Cache\Container.php on line 364
Strict Standards: Only variables should be assigned by reference in G:\xampp\php\PEAR\Net\Geo.php on line 561
Notice: Undefined variable: text in G:\xampp\php\PEAR\Net\Geo.php on line 721
Notice: Undefined index: COUNTRY in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 57
Notice: Undefined index: CITY in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 58
Notice: Undefined index: STATE in G:\xampp\htdocs\php5advancedlu\ch_09\net_geo.php on line 58
Our spies tell us the following information about the URL www.google.com:
IP Address: 209.85.229.147
Country:
City, State: ,
Any help with this would be greatly appreciated