D
dave h
Hi,
I have this page called index.shtml ----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>index</title>
</head>
<body>
The date is<br>
<!--#echo var="DATE_LOCAL" --> <br>
A Perl Print result is<br>
<!--#exec cgi="/perltest/perltest.pl" --> <br>
end of test
</body>
</html>
---------------------------------------
and this perl script call perltest.pl --
#!c:\perl\bin
print "Content-type: text/html\n\n";
print "xxx\n";
#exit;
--------------------------------------------------------
when I run the index.shtml page the perl script returns a long string of
header info in front of the "xxx" that I was looking for. The W2K IIS host
I running on recommends using <meta name="hideHeader" content=""> before the
<!--#exec cgi="/perltest/perltest.pl" --> statement to eliminate these
unwanted headers. I've not been successful in getting rid of the headers
with this approach..
Any suggestions for getting rid of the unwanted headers - the actual line
returned looks like -> "HTTP/1.1 200 OK Date: Wed, 14 Apr 2004 00:09:47 GMT
Server: Microsoft-IIS/5.0 Content-type: text/html xxx "
thanks
I have this page called index.shtml ----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>index</title>
</head>
<body>
The date is<br>
<!--#echo var="DATE_LOCAL" --> <br>
A Perl Print result is<br>
<!--#exec cgi="/perltest/perltest.pl" --> <br>
end of test
</body>
</html>
---------------------------------------
and this perl script call perltest.pl --
#!c:\perl\bin
print "Content-type: text/html\n\n";
print "xxx\n";
#exit;
--------------------------------------------------------
when I run the index.shtml page the perl script returns a long string of
header info in front of the "xxx" that I was looking for. The W2K IIS host
I running on recommends using <meta name="hideHeader" content=""> before the
<!--#exec cgi="/perltest/perltest.pl" --> statement to eliminate these
unwanted headers. I've not been successful in getting rid of the headers
with this approach..
Any suggestions for getting rid of the unwanted headers - the actual line
returned looks like -> "HTTP/1.1 200 OK Date: Wed, 14 Apr 2004 00:09:47 GMT
Server: Microsoft-IIS/5.0 Content-type: text/html xxx "
thanks