Quote:
Originally Posted by Stu
dola,
One other question. I add an html header and footer to all my php and html pages on my site. I accomplish this by using in my php.ini:
auto_prepend_file = /path.../header.html
auto_append_file = /path.../footer.html
I process all the html pages as php pages so it adds these headers as well.
Obviously I can't process perl files as php, so do you know of an easy way to include these headers on all the utilities pages?
|
Does it go by entension? You can change the name of the utility to whatever you want, like ootpou.html, so long as you change the 11th line in ootpu.pl to match the name:
my $file = 'ootpou.pl';
If that doesn't work, you'll have to paste the header and footer HTML into printHeader() and printTail() functions in HTMLUtils. Put it between the:
print $out << EOF;
....
EOF
lines in each function.