How to get POSTED data in php script?
<p>I am working on an android application in which I POST data using following code segments.</p>

<pre><code> public void postData()
         {    
             try 
             {
              // Create a new HttpClient and Post Header 
             HttpClient httpclient = new DefaultHttpClient();  
             HttpPost httppost = new HttpPost("http://10.0.2.2/check/justprint.php");  
          // Add your data 
                List&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();  
                nameValuePairs.add(new BasicNameValuePair("id", "jaydeepsinh jadeja"));  
                nameValuePairs.add(new BasicNameValuePair("password", "00000000000000"));  
                httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));  

                // Execute HTTP Post Request  
                HttpResponse response = httpclient.execute(httppost);           
                String text = EntityUtils.toString(response.getEntity());          
                   Log.i("","response = "+text); 
            } 
            catch (ClientProtocolException e) 
            {  
                Log.e("Error:",e+"");
                e.printStackTrace();
            }
            catch (IOException e) 
            {  
                Log.e("Error:",e+"");
                e.printStackTrace();
            }  
         } 
</code></pre>

<p>My main requirement is that get this values in php script and display on web page.
Is there any way to do the same?</p>
