Originally Posted by Chuck S
Frank if this is merely a php code snippet what is it doing. I really cant give you any advise without knowing what your trying to achieve.
If it is merely php code that say prints something in the footer then you use a php footer and place it at the end of the footer.
It is a code snippet that collects statistical informations (like Google Analytics) and writes this informations to a file in a separate directory. That's all. Would be no technical problem on top of PhotoPost index.php.
Is it a licencse probleme? The code snippet modifies no functions of PhotoPost. It's already finished after the first line of code in PhotoPosts index.php is executed.
Edit: You can find more informations about this statistic software here