Thread overview
DMDScript and CGI?
Nov 11, 2002
ric
Nov 11, 2002
Walter
Nov 11, 2002
ric
November 11, 2002
Hello,  I'm looking to use Javascript on my webserver via CGI.  That means access to stdin, stdout and the environment at the very least.

Are stdin, stdout and the environment available to DMDScript?  If so, how?  (I see from the sieve.ds that there is a "println", so one down and two to go.)

-- Ric Gagliardi
November 11, 2002
There are two versions of DMDScript. One is a console version, that you can do println's with. The other uses a COM interface. Which is more appropriate to your task?

(stdin and environment support could be added to the console version with
little difficulty.)

<ric@getorbital.com> wrote in message news:aqn6vp$2bq7$1@digitaldaemon.com...
> Hello,  I'm looking to use Javascript on my webserver via CGI.  That means access to stdin, stdout and the environment at the very least.
>
> Are stdin, stdout and the environment available to DMDScript?  If so, how?
(I
> see from the sieve.ds that there is a "println", so one down and two to
go.)
>
> -- Ric Gagliardi


November 11, 2002
I think the console version (with stdin, stdout and environment) would suffice. I am not planning on using it with IIS.  More likely Apache or Xitami.

-- Ric

In article <aqotl7$134f$1@digitaldaemon.com>, Walter says...
>
>There are two versions of DMDScript. One is a console version, that you can do println's with. The other uses a COM interface. Which is more appropriate to your task?
>
>(stdin and environment support could be added to the console version with
>little difficulty.)
>
><ric@getorbital.com> wrote in message news:aqn6vp$2bq7$1@digitaldaemon.com...
>> Hello,  I'm looking to use Javascript on my webserver via CGI.  That means access to stdin, stdout and the environment at the very least.
>>
>> Are stdin, stdout and the environment available to DMDScript?  If so, how?
>(I
>> see from the sieve.ds that there is a "println", so one down and two to
>go.)
>>
>> -- Ric Gagliardi
>
>