[ back to toc ]

ssi includes

Date: 2002/01/31 09:57

Q:
Peter,

I would like to use SSI includes in pages created by a PERL script.
However when I tried setting header(-type=>"text/shtml") I am told I'm
trying to download a program. Oops. So since I was just guessing at the
header, what would be the correct header() to send.

Where would I find a listing of the headers that can be sent? I've got
the O'Reilly book "CGI Programming with Perl" yet I can't find a nice
clean list of all the parameters that the header() method accepts, and are
legitimate.

Thanks, again

*NAME-DELETED*

A:
what you actually send to the client is NOT SHTML but HTML. thus try to
specify

header(-type=>"text/html")

regards,
Peter

[ back to toc ]