Re: XForms: urlencoded-post encoding wrong?

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Liberty Development
Message-ID <[email protected]>

Eric Hanson wrote:


> First time Mozilla XForms user, very exciting stuff...
> 
> Question -- is method="urlencoded-post" supposed to be delmiting
> name/value pairs with semicolons?  PHP doesn't seem to like this, and
> ends up only getting the very first var, for example $_POST['foo'] gets
> set to:
> 
> asdfasdf;bar=howdy;wang=asfdasf;
> 
> and $_POST['bar'] and $_POST['wang'] don't get set at all.  Seemed a
> little weird to me.  

As for PHP you can set arg_separator.input to allow other characters 
than & as the separator.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
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.