|Just another Perl shrine|
Re: Re: Sending Multiple Content-Typesby Petras (Friar)
|on Jun 28, 2003 at 00:51 UTC||Need Help??|
What I'm really trying to figure out is how to put both together. I can use
as a header for the file (I want to send the file once the user clicks a submit button). I could also use a standard <code>content-type: text/html<code> to send an html file with an anchor link to the file.
If I send the file then try to print an HTML page I get an error, and if I try to print the HTML page then send the file the file's header get rendered as HTML. Multi-Part headers were suggested, I'm just having trouble figuring those out.
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.