diff options
author | Ignasimg <ignasimg@gmail.com> | 2015-02-20 17:56:55 +0100 |
---|---|---|
committer | Ignasimg <ignasimg@gmail.com> | 2015-02-20 17:56:55 +0100 |
commit | 0b5569f11b9eab01e3b1571eb6012308a3868f01 (patch) | |
tree | 6d2e600889e80198c8f50c7db861ee5100db4902 /user_guide_src/source/libraries | |
parent | a8c964c5a1d48d9a70ed5826a086e9eba9963cc9 (diff) |
Added support for raw_input_stream property.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/input.rst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/input.rst b/user_guide_src/source/libraries/input.rst index 967f69d13..2b71b348a 100644 --- a/user_guide_src/source/libraries/input.rst +++ b/user_guide_src/source/libraries/input.rst @@ -91,8 +91,14 @@ the ``$_POST`` array, because it will always exist and you can try and access multiple variables without caring that you might only have one shot at all of the POST data. -CodeIgniter will take care of that for you, and you can access data -from the **php://input** stream at any time, just by calling the +CodeIgniter will take care of that for you, and you can read the data +from the **php://input** stream at any time, just by using the +``raw_input_stream`` property:: + + $this->input->raw_input_stream; + +Additionally if the input stream is formated in a query string fashion +you can access it's values, just by calling the ``input_stream()`` method:: $this->input->input_stream('key'); |