"premature end of header" script error



Hi,

I am receiving the following error : "Premature end of script headers"
when running my CGI script using a web browser.

Instead if I execute the script manually at the shell, it executes
successfully. Actually, the script needs to fetch a lot of data from
the database.

I couldn't find any related reference for this error description on
the web, though there are a lot of other references.

Any idea?

Ankur Jain

.



Relevant Pages

  • Re: php files?
    ... > in any web browser, browser windows shows the script, but it is not ... enable things in the apache config file, ... AND you won't be able to execute any php script by calling it with ...
    (alt.os.linux.suse)
  • Re: "premature end of header" script error
    ... I am receiving the following error: "Premature end of script headers" ... when running my CGI script using a web browser. ... Instead if I execute the script manually at the shell, ...
    (perl.beginners)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)
  • Re: [Full-Disclosure] ColdFusion cross-site scripting security vulnerability of an error page
    ... > execute the arbitrary javascript and HTML code which the attacker ... > It is possible to display the contents transmitted from the client ... > cross-site scripting attack can be executed. ... the script will be executed when the script for an attack ...
    (Full-Disclosure)
  • CGIscript.net - csMailto.cgi - Remote Command Execution
    ... CGIscript.net - csMailto.cgi - Remote Command ... csMailto is a perl cgi formmail script developed by ... execute command on server and mail output to anyone ...
    (Bugtraq)