note 102324 added to function.http-build-query

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
As noted before, with php5.3 the separator is &amp; on some servers it seems. Normally if posting to another php5.3 machine this will not be a problem.

But if you post to a tomcat java server or something else the &amp; might not be handled properly.

To overcome this specify:

http_build_query($array, '', '&');

and NOT

http_build_query($array); //gives &amp; to some servers
----
Server IP: 69.147.83.197
Probable Submitter: 64.60.156.46
----
Manual Page -- http://www.php.net/manual/en/function.http-build-query.php
Edit        -- https://master.php.net/note/edit/102324
Del: integrated  -- https://master.php.net/note/delete/102324/integrated
Del: useless     -- https://master.php.net/note/delete/102324/useless
Del: bad code    -- https://master.php.net/note/delete/102324/bad+code
Del: spam        -- https://master.php.net/note/delete/102324/spam
Del: non-english -- https://master.php.net/note/delete/102324/non-english
Del: in docs     -- https://master.php.net/note/delete/102324/in+docs
Del: other reasons-- https://master.php.net/note/delete/102324
Reject      -- https://master.php.net/note/reject/102324
Search      -- https://master.php.net/manage/user-notes.php
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.