[Xitami] using cgi with Xitami
Thomas J. Hruska
xitami@lists.xitami.org
Tue, 10 Feb 2004 21:53:09 -0500
At 08:20 PM 2/10/2004 -0600, Vera Cranor writeth:
>Thanks Murali.
>No, not trying to do any SQL... just print a little message for testing.
>
>My old version xitami would run Perl but the browser didn't get the output
from it.
>Now this new version doesn't run Perl at all. (I do have Perl in the path)
>
>I appreciate your efforts and at least you got me as far as getting the
"Service"
>thing set.
You do realize you need to output the "Content-Type" header to the web
browser or Xitami will give you an HTTP 500 error...
print("Content-Type: text/html\n\n");
...
Hope this helps!
Thomas J. Hruska -- shinelight@shininglightpro.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
http://www.slproweb.com/
`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~
Tired of programming languages that are expensive or difficult to use?
Try Nuclear Vision today!
http://www.slproweb.com/products/nvml.html
Announcing Nuclear Vision v2.0, the 100% HTML-style scripting language.
Easy to learn, easy to use.