Sometime on Oct 8, Boex,Matthew W. assembled some asciibets to say:

> i am getting this error when trying to load html template file -
>
> [Mon Oct  8 10:48:31 2001] [error] [client 127.0.0.1] malformed header
from
> script. Bad header=<FORM METHOD="POST"  ENCTYPE=":
> /var/www/cgi-bin/mini-mychicago.cgi
>
> i am not printing the header info since my html template has <META
> HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html;  charset=iso-8859-1">.
now, i

That only tells the browser what kind of output it's getting.  Not the
server.  You must always output your content-type: header so that the
server knows what kind of data it's getting from the script.

> added a print $q->header in my cgi and it did print my form, just at
the top
> of the page, not where i have the var inserted.

Where is the var inserted?  Please show a small snippet of code and
template.

Philip

-- 
New York... when civilization falls apart, remember, we were way ahead of you.
- David Letterman


Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/

  MSN  philiptellis                         Yahoo!  philiptellis
  AIM  philiptellis                         ICQ     129711328




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to