• Subject: Re: CGI-program
  • From: rgh@xxxxxxxxxx
  • Date: Sat, 6 Mar 1999 23:05:19 -0600

Staffan,

Since I am not sure what release you are coming from or the language(ILE/C,
ILE/RPG or ILE/COBOL), Let me suggest a few possabilities:

Are you trying to read more than CONTENT_LENGTH bytes from standard input?
When the CGI is run, Is the REQUEST_METHOD, POST?

If you attempt to read more bytes from standard input or the method in the
HTTP request is not POST, you will have unpredictable results reading
standard input.

Richard G. Hartmann       AS/400 TCP/IP & Server Development
 Internet e-mail: rgh@us.ibm.com
---------------------------------------------------------------------------
--------
Date: Mon, 01 Mar 1999 16:31:18 +0100
From: Staffan Lofberg <staffan.lofberg@netorom.se>
Subject: CGI-program

Hello

I have written a general CGI-program on my AS/400. It has worked "like a
charm" until today. Over the weekend I moved to 4.3 and now it stops. As
far as I can see it just stops when I use the API QtmhRdStin.

Anyone that has a good PTF number?

Thanks in advance

Staffan Lofberg
- ------------------------------------------------------------------
Netorom AB              Phone +46 40 6712272
P.O. Box 9160           Fax   +46 40 940128
S-200 39  Malmö         http://risc.netorom.se
Sweden                  mailto:staffan.lofberg@netorom.se


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.