[Gambas-user] CGI - Hello World

Erwin Pogz erwinpogz at ...43...
Tue Nov 21 04:31:26 CET 2006


Hello,

I tried to build a sample hello world  CGI, I use gambas2 1.9.45 but i have an error coming out saying 


Error message:
    <br />Premature end of script headers: ff.gb

heres my code:

PUBLIC SUB Main()
  PRINT "Content-type: text/html\n\n"
  PRINT "Hello World!"
END


I tried to visit http://www.gambasdoc.org/help/comp/gb.web but i cant find any sample codes for me to start with. Could somebody give a tips?

Thank you.


Regards,

Erwin



 
---------------------------------
Sponsored Link

Mortgage rates near historic lows: $150,000 loan as low as $579/mo. Intro-*Terms



More information about the User mailing list