Re: Euphoria and CGI

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

Jerry Story wrote:
> 
> Why doesn't this work?
> 
> }}}
<eucode>
> 
> #!./exu
> 
>  puts(1, "<html><head><title>Quackery Game</title></head>\n")
>  puts(1, "<body bgcolor=\"#FFFFFF\">\n")
>  puts(1, "</body></html>\n")
> 
> </eucode>
{{{

> 
> I tried with /euphoria in /public_html and in the top level.
> 
> In /public_html I get:
> #!./exu puts(1, "\n") puts(1, "\n") puts(1, "\n")
> 
> In the top level it does nothing.
> 
> /euphoria consists of /bin and /include
> 
> Also
> #!/home/jstory/euphoria/bin/exu
> doesn't work on my computer even tho the path is correct.

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)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu