Re: CGI using 4GL...
Posted in 1999
Hi Obnoxio, 1) You need just ONE (can add as many as you want but = need just ONE) blank line after the "Content-Type" header. = Another poster told me exactly waht I was doing wrong: I need to have a blank line -not even a white = space -just a blank line after the header. 2) And No, you don't need the HTML tags -it is better if you use them but that was not the problem... Sandeep "Obnoxio The Clown" <obnoxio@hotmail.com> wrote: > >I am writing to ask if anybody here has done *any* > >kind of CGI programming using 4GL. I am trying to > >print a minimal "Hello" and I get a "malformed header" > >error in the httpd logs. Here is the source: > > > >MAIN > >DISPLAY "Content-type: text/html" > >DISPLAY " " -- there shouldn't be a space > >DISPLAY "<h1>Hello Informix! </h1>" > >END MAIN > = > I'm *definitely* not the world's greatest living authority on HTML, = > but: > = > 1. Shouldn't there be 2 blank lines (no space character either)? > 2. Shouldn't there be an <HTML> </HTML> tag pair in there? > = > HTH. > = > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com It is impossible to get anywhere without sinning against reason -just lik= e it is impossible to build a house without the scaffolding, which of course, = is not part of the structure. -Albert Einstein ____________________________________________________________________ Get free e-mail and a permanent address at http://www.netaddress.com/?N=3D= 1