A 'Premature End of Script Headers' error message is typically seen when your CGI-script prints something
before the usual HTML-headers were issued. Many times (but not always) this is due to some error occurring and the error-message send out instead of the usual headers.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law