Hi Beloop!
Thanks for your effort!
Now I have tested your updated function. The result is exactly what we need, but the time to build up the statistic site is acceded from about 3 seconds up to 19. I think that's because every row is now additionally checked for a string starting with the other URL. So I tested a bit on my own and I have found a solution:
In the config.inc.php the page you want to look at is set:
(e.g. $sites = array( "ez_logezboo"=>"www.yourwebsite.com"); )
There you can also define that you want to watch more than one site with an array.
Take two times the same table to log and then define the two types of URL for your Homepage. (e.g. $sites = array( "ez_logezboo"=>"www.yourwebsite.de", "ez_logezboo"=>"yourwebsite.de")
So it works! :-) And it's as fast as before (or I can't recognize the difference :-)).
Maybe that helps you for your faq. I have one further question. You told to offer a newer version in future with additional features. How far are you on your roadmap? Maybe I can support you in developing process!?
Best regards,
Jochen