can a template.php3 serv as a content pusher, like header, footer, script... I'd like to have my .cgi files served with header footer for uniformity, SSI is not effective to include those. Maybe use java to call the .php3 file into the .cgi file like here:
$header = '<SCRIPT LANGUAGE="JavaScript" SRC="http://www.xxx.com/template.php3?action=header&script"></script>';
$footer = '<SCRIPT LANGUAGE="JavaScript" SRC="http://www.xxx.com/template.php3?action=footer"></script>';
can it be done?