Re: XForms: submission with POST, does it work?

Nils Dehl <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hi Pascal,

i test it with PHP 5

this code snippet work on my test system:

$postedXML = new DOMDocument();
$loaded = @$postedXML->load('php://input');
if ($loaded) {
   $postedXML->save('test.xml');
}

regards
Nils


Pascal Sartoretti schrieb:
> Hello,
> 
> I can submit my XForm with a GET or a "form-data-post", but when I try 
> to do it with POST nothing seems to happen. Is it supposed to work? I 
> found this bug which could indicate that submission are not yet fully 
> implemented:
> 
>   https://bugzilla.mozilla.org/show_bug.cgi?id=263086
> 
> Could anybody succeed with a POST? Is there any security issue? By the 
> way, there is nothing in the Javascript console.
> 
> Thanks for any help
> 
> Pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.