Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Aug 2002 14:20:28 -0500 |
Content-Type: | multipart/mixed |
Parts/Attachments: |
|
|
Some how, you have to put the output of your file to a flat file. Then read
the file to output it in HTML.
Ron Horner
HP3000 Systems Administrator
JCPenney Logistics
[log in to unmask]
(414) 259-2274
AIM: hornerrr
----- Original Message -----
From: "John Korb" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, August 28, 2002 2:14 PM
Subject: Perl: Output of MPE program NOT going to web page
> Again, thanks to everyone!
>
> I have a working Perl script. That is, it works if run from the POSIX
> shell prompt.
>
> However, when I invoke it from a web browser and Apache serves it up, the
> output of the MPE program apparently goes to the Apache job's $STDLIST and
> not back out to the web browser. For example, when I try:
>
> #!/usr/local/bin/perl
>
> print "Content-type: text/html\n\n";
> print "<HR><P>\n";
> system ("/SYS/PUB/DISCFREE A");
> print "<P><HR>\n";
>
> I see only a horizontal rule, the program header for DISCFREE, and the
> seconds horizontal rule. I don't see any of the "DISCFREE A" output.
>
> I created a "Hello World!" program in a Business Basic and SPLASH! and if
I
> replace the "/SYS/PUB/DISCFREE A" with "/SYS/PUB/HELLOWLD" I receive only
> the two horizontal rules - no "Hello World!" text.
>
> Anyone have any ideas as to what is happening here and how to get around
it?
>
> Thanks!
>
> John
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If the reader of this message is not the intended recipient,
you are hereby notified that you have received this message in error and
that any review, dissemination, distribution or copying of this message
including any attachments is strictly prohibited. If you received this
in error, please contact the sender and delete the material from any
computer.
|
|
|