Ok, I see how it works, but I (sorry, I really am out of my league here) don't know if I add that script to my current for handeler, or save it as a separate function. Do I call it from the first?

I am going to take look at the suggested links to see if they show how it is done. Currently, the form handeler gets the data from get.html, and emails it back using a page called get.txt. My client wants me to change his form so that instead of a successful submission going to a generic "thanks" page, that it says "Thanks Adam, here is your certificate for $25 bucks off. Please print this page."

While I can use javascript for the "print this page" part, and I see how your suggestion works, but I don't know what to do with it... I was hoping to find a complete for that does the same thing on this (or any of the free cgi script sites) to learn how, but I cannot seem to find the cgi you wrote above in use. Thanks for your reply.

In reply to Re: Help... I know nothing about perl... by Roninpc
in thread Help... I know nothing about perl... by Roninpc

Title:
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, details, 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, summary, 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.