php script to echo a post
<p>Could someone help with a simple PHP script to echo the whole message received with an HTTPPOST.</p>

<p>I am sending a string from an android app using HTTPPOST and would like to receive as a response the message received by the POST at the server.</p>

<p>The script that I am using will only echo name value pairs </p>

<pre><code>echo $_POST('data')
</code></pre>

<p>works when I post form data, but have not figured out how to echo a string. </p>

<p>Thanks</p>
