note 101668 added to function.http-build-url
| From: | cedric at ce3c dot be | Date: | Mon, 03 Jan 2011 18:27:22 +0000 |
| Subject: | note 101668 added to function.http-build-url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175424@lists.php.net to get a copy of this message | ||
The example given in the documentation returns:
ftp://ftp.example.com/pub/files/current/?a=b&a=c
When testing locally I got a different result:
$ php test.php
ftp://ftp.example.com/pub/files/current/?a=c
As you can see, when using HTTP_URL_JOIN_QUERY, the parameter will be overwritten if it was already
specified.
----
Server IP: 69.147.83.197
Probable Submitter: 81.240.168.166
----
Manual Page -- http://www.php.net/manual/en/function.http-build-url.php
Edit -- https://master.php.net/note/edit/101668
Del: integrated -- https://master.php.net/note/delete/101668/integrated
Del: useless -- https://master.php.net/note/delete/101668/useless
Del: bad code -- https://master.php.net/note/delete/101668/bad+code
Del: spam -- https://master.php.net/note/delete/101668/spam
Del: non-english -- https://master.php.net/note/delete/101668/non-english
Del: in docs -- https://master.php.net/note/delete/101668/in+docs
Del: other reasons-- https://master.php.net/note/delete/101668
Reject -- https://master.php.net/note/reject/101668
Search -- https://master.php.net/manage/user-notes.php