HP3000-L Archives

February 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Charles D MEEKER <[log in to unmask]>
Reply To:
Charles D MEEKER <[log in to unmask]>
Date:
Thu, 6 Feb 1997 08:30:08 CST
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Mark Bixby writes:
> -------
> After my first attempt to use a Pascal 'writeln' program for CGI under Apache
> failed to open the 'output' file, I thought why not use the PRINT intrinsic
> to write to the already open $STDLIST and hopefully stdout?
>
> Well, that does the trick!  The web server receives the output sent via the
> PRINT intrinsic and returns it to the client web browser.
>
> I then tried a simple READ/READX intrinsic test, but that hung the
CGI program.
> I may need to make the test more complex for it to be valid.  (Of course,
> anybody doing CGI input should really be using Perl due to all of the
> public Perl CGI code that's available...)
>
> I plan to experiment some more to see if I can get CGI input working, as well
> as to see if I can figure out how to HPFOPEN stdout from an MPE program.
>
> Here is my simple CGI output test program:
[snip]

It doesn't work with 5.0.  The output appears in the joblog.

Chuck Meeker
Rockwell

ATOM RSS1 RSS2