Re: Euphoria and CGI
- Posted by Jerry Story <story.jerry at gmail.com> Jun 22, 2007
- 661 views
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.