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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |