note 114957 added to wrappers
| From: | Chris | Date: | Mon, 05 May 2014 15:30:49 +0000 |
| Subject: | note 114957 added to wrappers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199420@lists.php.net to get a copy of this message | ||
If you use php://input and want to make an array of it (like $_POST), make sure you explode the
string by "&" then urldecode it or you could end up with blank array elements. E.g.
<?php
$post = array_map('urldecode', explode('&',
file_get_contents("php://input")));
----
Server IP: 72.52.91.14
Probable Submitter: 168.251.194.14
----
Manual Page -- http://php.net/manual/en/wrappers.php
Edit -- https://master.php.net/note/edit/114957
Del: integrated -- https://master.php.net/note/delete/114957/integrated
Del: useless -- https://master.php.net/note/delete/114957/useless
Del: bad code -- https://master.php.net/note/delete/114957/bad+code
Del: spam -- https://master.php.net/note/delete/114957/spam
Del: non-english -- https://master.php.net/note/delete/114957/non-english
Del: in docs -- https://master.php.net/note/delete/114957/in+docs
Del: other reasons-- https://master.php.net/note/delete/114957
Reject -- https://master.php.net/note/reject/114957
Search -- https://master.php.net/manage/user-notes.php