On Mon, 20 Mar 2000, Mayur Joshi wrote:
> created a new CGI object x & the printed
> print $x -> header;
>
> When this script is executed the browser gives me error saying the document
> contains no data. Then I changed that line & replaced with the following
> print "Content-Type:text/html","\n\n";
> The problem was solved. Why is that happening. I always have some probs when
Try executing the script from the command line and see if it gives you the
content-type: text/html
If it doesn't, then have a look at the CGI.pm file for the code that gives
you header.
Philip
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener