Because it generates headers of its own, you can't output anything before the redirect, otherwise you're script is telling browsers that it's sending them a file (ie, an HTML page) or (if you forgot header) bogus output.
--k.
In reply to Re: A CGI redirect problem
by Kanji
in thread A CGI redirect problem
by krujos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |