Posted by Denis on 12/18/95 11:49
I'm working with a JavaScript implementation of Xforms (FormFaces) and
am trying to capture the standard input of a submit via a POST method
(XML data). I've found I can capture the standard input with a shell
script but not with a PHP script. I've tried to capture the standard
input with both the system command ( cat >file ) and using fopen/fwrite
but neither technique works (I can run my PHP script from command line
fine).
My server is Linux running Apache 1.3.34 with PHP 4.4.2. My question
is whether I should be able to do this with PHP or whether this is an
Apache configuration issue for my server. Anyone know?
If this is not possible, my work around is to use a shell script to
capture stdin to a file and then invoke a PHP program to do the rest of
the processing but I'd rather avoid the kludge if possible.
Denis
Navigation:
[Reply to this message]
|