I downloaded a counter-plugin-Counterize for my word press,but after I installed it,I found that in the Counterize entries table the IP,URl,Referer,UserAgent are all “unknown”.
And after I read the source code of counterize.php I found that the syntax
is different in PHP4 and PHP5.In PHP5 The syntax should be
-
$_SERVER[‘REMOTE_ADDR’]
You can download the package from here includes two version of the plugin.
The documentation of this plugin you can find it in author’s site.
Thanks for making me aware of the problem