|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-05-05 11:49 UTC] tyrael@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: mike
[2014-05-05 11:49 UTC] tyrael@php.net
[2014-05-05 11:52 UTC] bugzilla77 at gmail dot com
[2014-05-05 11:54 UTC] bugzilla77 at gmail dot com
[2014-05-05 11:54 UTC] tyrael@php.net
[2014-05-05 14:28 UTC] tyrael@php.net
[2014-05-06 09:29 UTC] mike@php.net
-Summary: REGRESION php://input
+Summary: php://input regression
[2014-05-06 09:29 UTC] mike@php.net
[2014-05-06 10:37 UTC] mike@php.net
[2014-05-06 10:37 UTC] mike@php.net
-Status: Assigned
+Status: Closed
[2014-05-06 10:37 UTC] mike@php.net
[2014-05-07 13:01 UTC] ab@php.net
[2014-05-07 13:04 UTC] ab@php.net
[2014-05-12 09:03 UTC] ab@php.net
[2014-05-13 11:25 UTC] dmitry@php.net
[2014-05-13 11:25 UTC] dmitry@php.net
[2014-05-14 07:57 UTC] tyrael@php.net
[2016-07-20 11:40 UTC] davey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 23:00:01 2025 UTC |
Description: ------------ Please SET php.ini: enable_post_data_reading = Off PHP.INI quote: "the only way you will be able to read the POST data will be through the php://input stream wrapper" PHP 5.6 b2 buggy PHP 5.5.12 OK Test script: --------------- <?php if(!ini_get('enable_post_data_reading')){ if($_SERVER['REQUEST_METHOD']=='POST'){ exit(file_get_contents('php://input')); } }else{ exit('Please SET php.ini: enable_post_data_reading = Off'); } ?> <script> ajax=new XMLHttpRequest() ajax.open('POST',location.href,false) // synchronous ajax.send('PASS') document.write(ajax.responseText) </script> Expected result: ---------------- PASS Actual result: -------------- [empty string]