Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I think there must be more going on here - maybe something to do with the other scripts, or your SSI setup. As stated above, if the request was made to "my_html_form_with_execs.html", then Apache should spit out the right headers along with the parsed html, which will include *any* output from your script(s).

None of your scripts should need to print a header - I'm puzzled as to why the other scripts *don't* show the header, if they all have a "print $q->header" line. Have you looked at the source of the HTML to work out exactly what is printing what where and when?

Again, commenting out the "send_account()" line should make no difference, unless there's an error there somewhere - what do the logs say when you comment out the "print $q->header" line? Is it a "no headers" error or something to do with send_account()?

Personally, I'd drop the "exec-cgi-inside-server-parsed html" approach and use HTML::Template instead :)


In reply to Re: CGI + SSI = extra content-type header? by benn
in thread CGI + SSI = extra content-type header? by Kozz

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    Corion had a meeting with some startup today. They have a very interesting DB proxy product, but their tech stack is really, really weird. They use the Pg wire protocol but not the Pg libraries to handle it. They support Pg SQL syntax, but don't use ...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (7)
    As of 2018-04-19 12:13 GMT
    Find Nodes?
      Voting Booth?