[Gambas-user] Making a web app

Rolf Schmidt rolf.frogs at ...221...
Tue Dec 21 18:21:34 CET 2010


Hi Rolf-Werner

> Now, to make things somewhat clearer, let me add this:
>
> During the last two hours or so I set up a commandline application in
> Gambas doing this:
>
> PUBLIC SUB Main()
>
>    PRINT "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01
> Transitional//EN\">"

Here you have to print an empty line - its part of the HTML-Standard!

> PRINT "<html> 
>    PRINT "<head>"
>    PRINT "<title> Testseite </title>"
>    PRINT "</head>"
>    PRINT "<body bgcolor=\"#E0E0E0\">"
>    PRINT "<h1>Testeingabe</h1>"
>    PRINT "</body>"
>    PRINT "</html>"
>
>
> END

> Premature end of script headers: (and the name of the executable)
Error comes form bad formated HTM-Output.

Gruß
Rolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101221/bca02a97/attachment.sig>


More information about the User mailing list