php code on top of page
Posted: Sun Sep 25, 2005 11:20 am
hi there one more time
I am using a referral-script on my page. For that, I included the so called log.php in a php-sidebox-plugin. That works fine so far.
The problem is, the it seems that the log-script records wrong hits from time to time. I heard that this wouldn't happen if I would include the log.php on top of the page.
The question is also: where do I have to write the 'include(/path/to/log.php);' so that it get executed first when the page gets loaded?
serendipity_config_local.inc.php
serendipity_config.inc.php
..??
thanx
tom
I am using a referral-script on my page. For that, I included the so called log.php in a php-sidebox-plugin. That works fine so far.
The problem is, the it seems that the log-script records wrong hits from time to time. I heard that this wouldn't happen if I would include the log.php on top of the page.
The question is also: where do I have to write the 'include(/path/to/log.php);' so that it get executed first when the page gets loaded?
serendipity_config_local.inc.php
serendipity_config.inc.php
..??
thanx
tom