Quote:
Originally Posted by Torqued
That's the problem. I have statistic_java_counter.php in /public_html/forums but when the script runs, I get the error message for the other path. :ermm:
|
You can either use the full path to the file ie:
PHP Code:
include("/home/youraccount/public_html/forums/statistic_counter.php");
or...
PHP Code:
if (THIS_SCRIPT != 'adv_index')
{
include("./statistic_counter.php");
}
.. if you want to stop the including when people are viewing your adv_index page.
Ah. Right, sorry. Just stick the full path to statistic_java.js in the template. Then, you will need to edit the .js file, on line 113, enter your full forum path.