in reply to Malformed Header?

When you send a page via HTTP, there is a special header that you must send that tends the client what type of document you are sending. This is followed by two returns (\n\n), at which point you can then send your HTML or other text.

You can generate this header using the header() function in the CGI.pm module. It's probably a good idea to browser through the documentation of this module as well as there's a lot to be learned from it on how to dynamical create HTML documents.

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Replies are listed 'Best First'.
Re: Re: Malformed Header?
by tretin@school (Initiate) on Oct 24, 2001 at 17:54 UTC
    Thanks a bunch, I'm going to try that asap.

    Much appreciated!