[Gambas-user] CGI - Hello World

Fabien Bodard gambas.fr at ...626...
Tue Nov 21 17:18:32 CET 2006


hum...
have you correctly set  the main Class ?



2006/11/21, Erwin Pogz <erwinpogz at ...43...>:
> 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
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list