CGI using 4GL...
Posted in 1999
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
Hello all, 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 " " DISPLAY "<h1>Hello Informix! </h1>" END MAIN Any ideas on what might be wrong with the header? I mean, it prints fine on the screen with the blank line after the header and all. Thanks for your time... Sandeep
Sandeep Singh wrote in message <3714F974.4EDE5600@cornell.edu>... >Hello all, > >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 " " >DISPLAY "<h1>Hello Informix! </h1>" >END MAIN > >Any ideas on what might be wrong with the header? >I mean, it prints fine on the screen with the blank line >after the header and all. Thanks for your time... > >Sandeep > Try using Informix 4gl-CGI library http://www.iiug.org/software/software_index.html#I4GLCGI Best regards,