[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] A web page



>
> print "Content-type: text/html\n\n";

> Print "Content-type: application/octet-stream"

If you are running through Apache, and don't have Mod_Perl
or other ways of allowing PERL to modify the headers,
Apache's has probably already sent text/html..
What you are probably looking for is a 'multipart'
header anyway.

This is the kind of thing I find much easier to do
in PHP, with it usually running as an Apache Mod,
you can modify headers easily, and for including
files in stream, the "readfile" command does magic.