Posted by Tim Van Wassenhove on 11/03/44 11:49
On 2006-06-05, Denis <sysdrk@wowway.com> wrote:
> 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).
The last time i tried to gather (unmodified) XML data that was posted i
did it with $input = file_get_contents('php://input');
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Navigation:
[Reply to this message]
|