and am failing on all fronts
things that should work do not
Code: Select all
{php}
include ("/full/server/path/to/file/counter.html")
{/php}
{include file='/("/full/server/path/to/file/counter.html'}
{include file='/counter.html'}
{include file='counter.html'}
i have even tried to include the counter file directly....
[code]{include virtual='/full/server/path/to/file/_stats/counter.cgi?site=cptr'}
{include file='/full/server/path/to/file/_stats/counter.cgi?site=cptr'}i will be using a stats app locally that uses an SSI include that is parsed in an html file
we have been using this successfully in PHP sites for years with an addhandler in htaccess and this simple php tag
Code: Select all
<?php
virtual ("/counter.html");
?>i am working with inded.tpl from the bulletproof dir - and get errs...
how can i get this html file pulled into the app?Warning: Smarty error: unable to read resource: "html/counter.html" in ("/full/server/path/to/file/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
ultimately this is what will get parsed as html as thsi wi8ll be the contents of counter.html
Code: Select all
<!--#include virtual="/_webshop101Stats/counter.cgi?site=041"-->