catocom
Well-Known Member
I'm trying to make a cgi- footer for my web pages.
The code looks like this, and works.
you can see it in action here...
http://66.168.192.248/cgi-bin/footer.pl
The problem...
I can't get it to showup in my html page...
http://66.168.192.248/G.html
Anybody here have any fix suggestions?
The code looks like this, and works.
Code:
#!/perl/bin/perl.exe
###############
# Footer
#
##put this on page you want footer to appear <!--#exec cgi="footer.cgi"-->
###############
$footer_file = "footer.html";
print "Content-type: text/html\n\n";
open(FILE,"$footer_file");
while(<FILE>) {
print $_;
}
exit;
you can see it in action here...
http://66.168.192.248/cgi-bin/footer.pl
The problem...
I can't get it to showup in my html page...
http://66.168.192.248/G.html
Code:
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- CREATION DATE: 2/17/2004 -->
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Thread Wonders</TITLE>
<META NAME="Author" CONTENT="John Scott Cato">
<META NAME="Generator" CONTENT="AceHTML">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta http-equiv="imagetoolbar" content="no">
<link REL=SHORTCUT ICON href="images/Tw.ico">
</HEAD>
<body bgcolor="#FFFFFF">
<center>
<!--#exec cgi="/cgi-bin/footer.pl" -->
</center>
</body>
</html>
Anybody here have any fix suggestions?