note 102324 added to function.http-build-query

From: Date: Tue, 08 Feb 2011 20:11:49 +0000
Subject: note 102324 added to function.http-build-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-176791@lists.php.net to get a copy of this message
As noted before, with php5.3 the separator is & 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 & might not be handled properly. To overcome this specify: http_build_query($array, '', '&'); and NOT http_build_query($array); //gives & 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

« previous php.notes (#176791) next »