post method in php
<p>I am trying to send data through post method in android . But how I can receive data in server. My server is in php. I found a method in php $_post[]. how can i use it? 
my client code is </p>

<pre><code>client=new DefaultHttpClient();
            HttpPost request=new HttpPost("http://10.0.2.2/php_server/index.php");
            HttpEntity entity;

            try
            {
                StringEntity string=new StringEntity("I am android");

                 entity=string;
                 request.setEntity(entity);

                HttpResponse response=client.execute(request);
            }
            catch(Exception e)
            {
                Log.e("socket connection", e.toString());
            }
</code></pre>
