Subj : spidermonkey CGI To : netscape.public.mozilla.jseng From : user@domain.invalid Date : Mon Jun 09 2003 03:32 pm Is it possible to use js for CGI? How can I get the $QUERY_STRING environment variable? Or get the HTTP headers? I'm talking about an ordinary shell script, not a server-side engine, e.g. #!/usr/bin/js print("Content-type: text/html\n\n"); // ... Is there a reference? (I had to google to find out, er guess, that spidermonkey had a print function, based on a rhino example). .