Jürgen ,
You mentioned:
as far as I remember the POST'ed data can be read from stdin of the CGI
script. So probably FILE_IO (read() or fgets()) may do the job.
I'm a bit confused. I was messing around with this and ran the following on the command line to see where stdin is going:
echo "yadda" | apl
The results are unexpected (at least to me). It looks like APL is evaluating yadda as a variable. I might have expected that it appear as a string, so that I could read it in and store it (but I'm not sure that is even the right thing to do).
Then this prints:
^D or end-of-input detected (1). Use )OFF to leave APL!
^D or end-of-input detected (2). Use )OFF to leave APL!
^D or end-of-input detected (3). Use )OFF to leave APL!
^D or end-of-input detected (4). Use )OFF to leave APL!
Then this prints:
and then the interpreter exits. Can this behavior be explained?
-Alex