Re: Euphoria and CGI

new topic     » goto parent     » topic index » view thread      » older message » newer message

Gary Shingles wrote:
 
> I don't see you outputting a content type, 
> 
> eg puts(1, "Content-type: text/html\n\n")
> 
> (unless that was assumed in your example)

I forgot that.

Here is a modified version:
#!/public_html/cgi-bin/euphoria/bin/exwc.exe
without warning
 puts(1, "Content-type: text/html\n\n")
 puts(1, "<html><head><title>Quackery Game</title></head>\n")
 puts(1, "<body bgcolor=\"#FFFFFF\">\n")
 puts(1, "</body></html>\n")


This is what it does.
#!/public_html/cgi-bin/euphoria/bin/exwc.exe without warning puts(1,
"Content-type: text/html\n\n") puts(1, "\n") puts(1, "\n") puts(1, "\n")
On a blue screen.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu