in reply to A CGI redirect problem
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.
|
|---|