So, it needs to be able to do a
getenv()?
No
fully adapt to HTTP manager.
Made a basis HTTP manager.
if it no
make pointer error, will work
at
http://127.0.0.1/cgi-bin/
directory.
For the post method of
send a form, it need check environment
"HTTP_CONTENT_LENGTH=??"
to read
data bytes from stdin.(add a string to numeric function)
try it, you
will know the mean. :)
li
"Walter"
<walter@digitalmars.com>
写入消息新闻
:arps4e$2d99$1@digitaldaemon.com...
> So, dmdscript will
work for you if the startup message is sent to stderr
> rather than
stdout, no other changes? -Walter
>
> "zhang li"
<li@stands.3322.org> wrote in message
>
news:armvgp$23la$1@digitaldaemon.com...
> > It has a little problem,
the DSDscript print copyright info first, the
> info
> > also
send to guest.
> >
> > yet Internet Explorer need the first
info from server.
> > print "Content-type: text/html\n\n",
>
>
> > so, the copyright info should print to stderr, will not be
use as HTTP
> > output.
> >
> >
> >
regard
> >
> > li
> >
> >
> >
"Walter" <walter@digitalmars.com> 写入消息新闻
> >
:arlntd$pf6$2@digitaldaemon.com...
> > > I just don't understand
what you're asking. In any case, the dmdscript
> > > engine can
read from stdin and write to stdout, if that will work for
>
your
> > > application.
> > >
> > >
-Walter
> > >
> >
>
>
>
>