StatPress Giving Error
-
I’m using the StatPress plugin. I keep getting the error:
Warning: gethostbyaddr() [functino.gethostbyaddr]: Address is not in a.b.c.d form in /var/www/flipjarg/blog/wp-content/plugins/wp-statpress/statpress.php on line 978And here are a few lines from that section (here is the whole file: http://pastebin.ca/1004406 ):
function iriDomain($ip) { $host=gethostbyaddr($ip); if (ereg('^([0-9]{1,3}\.){3}[0-9]{1,3}$', $host)) { return ""; } else { return substr(strrchr($host,"."),1); }Does anyone have any ideas as to how I should fix this? Thanks 🙂
The topic ‘StatPress Giving Error’ is closed to new replies.