Thanks everyone for your ideas; I'm impressed by all of the support here (this was my first time posting a question).

Before posting my question I did try setting the URL in the form rather than in the script, but then it didn't work on my system. The "continue" URL was correct on the "You already voted" page, but on the "Results" page it linked to the .cgi page. I have no idea why, other than that the results page is generated by adding together 3 separate sections.

In the form I added this:
<input type="hidden" name="JUMP_URL" value="http://www.webmonkeydean.com/et-toi/">

And in the script, I commented out the previous value for JUMP_URL like this:
# $JUMP_URL="$ENV{'HTTP_REFERER'}";
and wrote the links like this:
<a href="$fields{'JUMP_URL'}">Continue</a>

As I said, this worked for the "you already voted" page, but not for the "results" page. Would this be a good approach for getting around the referer/firewall problem (and can you see what to do to make it work for both links)?


In reply to Re: Writing link on HTML page by Deanimal
in thread Writing link on HTML page by Deanimal

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.