Re: Euphoria and CGI
- Posted by Gary Shingles <eu at 531pi.co.nz> Jun 22, 2007
- 705 views
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)