I'd probably try redirecting right from inside the cgi script.
Try putting this line in the cgi script below the code that processes
print "Location: http://www.mydomain.com/thankyou.html
You might have problems using the "location" header if you need to
use "print" before it. I don't think you can use the location header
after you have sent any other http headers out.
So if there's a line like:
print "Content-type: text/html \n\n";
U need to either take it out or put it in an if statement and only
print it if you need to print something to the browser.
--- In perl-beginner@y..., "Onyx Web" <onyxweb13@h...> wrote:
> I need help with sending a form to a thankyou.html page while still
> submitting the info to an email.
> Currently I am using form2mail in this way:
> <form name="darklings" method="post"
> OK, it works once but I noticed that it doesn't work all the time.
> the best way to accomplish this?
> Get your FREE download of MSN Explorer at