Re: Problems with cgi
- Posted by bfaerie at programmer.net Apr 28, 2001
- 370 views
I know, for one, that you should use apache instead of omnihttpd; I use to use it, but after a while realized that it had a lot of bugs. However, I think I know what you're doing.. you can't call it directly; try setting it up as your main page, and goto it from http://localhost/ ~Nathan ----- Original Message ----- From: <dirac1973 at hotmail.com> Subject: Problems with cgi > > > I tried to write a little cgi in Euphoria.. > but it doesn't work right > i use OmniHttpd server (in win2k) and when i call the cgi.ex the result > is generated in a dos shell and not in the browser... > how can i send the output to the browser? > the cgi is very very simple: > > puts(1,"Content-type: text/HTML\n\n") > puts(1,"<title>CGI-TEST.EX</title>") > puts(1,"<body>") > puts(1,"<H3>") > puts(1,"Euphoria CGI Example:</H3>") > > Thanks > > > > > > >