<![CDATA[ Unable to use $response = file_get_contents('php://input'); in snippet - My Forums]]> https://forums.modx.com/thread/?thread=104320 <![CDATA[Unable to use $response = file_get_contents('php://input'); in snippet]]> https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-561071 $response = file_get_contents('php://input'); in side modx revolution and evolution. Please, can you please help me to implement.]]> ravikandel1 Aug 24, 2018, 02:44 PM https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-561071 <![CDATA[Re: Unable to use $response = file_get_contents('php://input'); in snippet]]> https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563983


]]>
BobRay Feb 05, 2019, 11:26 PM https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563983
<![CDATA[Re: Unable to use $response = file_get_contents('php://input'); in snippet]]> https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563980 Did you try using $_POST ? php://input don't work for enctype="multipart/form-data". May be you are getting response as multipart/form-data in this case $_POST[0] should work.

dafont192.168.l.lfilehippo

]]>
rania_d Feb 05, 2019, 09:07 PM https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-563980
<![CDATA[Re: Unable to use $response = file_get_contents('php://input'); in snippet]]> https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-561077 BobRay Aug 24, 2018, 06:02 PM https://forums.modx.com/thread/104320/unable-to-use-response-file-get-contents-php-input-in-snippet#dis-post-561077