How to accept and read data from httpcontext in php?
<p>I want to add a page written in PHP to handle HTTP Requests, and to answer them.
All I want is a page that does like below code:</p>

<pre><code>    &lt;%@ WebHandler Language="C#" Class="Handler" %&gt; 
using System;
using System.Web; 
public class Handler : IHttpHandler {    
    public void ProcessRequest (HttpContext context) {
        //context.Response.read
        context.Response.ContentType = "text/plain";
        //context.Response.Write("Hello World");
        byte[] x = context.Request.BinaryRead(context.Request.ContentLength);

        context.Response.Write("Your message will be read soon!");
    } 
    public bool IsReusable 
    {
        get {
            return false;
        }
    }
}
</code></pre>