In reading your responses to the posts, I'm not sure if you solved your problem.
What you need to do is remove this line (line 2 or 3)
print "Content-type: text/html\n\n";
and put it after the last else, just before
print "<HTML>\n";
In reply to Re^3: HTTP headers and redirection
by nedals
in thread HTTP headers and redirection
by student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |