Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Capturing xforms standard input via PHP?
June 5, 2006, 10:09 pm
rate this thread
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
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.