I have a little problem I have been trying to solve, but so I haven't had any luck so far.
A product we use sends an HTTP Post request when certain events happen. We want to write a script which will process this request and take certain actions. Unfortunately, Some of the data comes not as Post variables, but as part of the Content of the HTTP request. Here is a sample: *** Beginning *** POST /~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23&ServerType=email&[EMAIL PROTECTED]&MessageType=email&[EMAIL PROTECTED]%3E&Subject=TST26&MessageReceivedTime=01/15/2002%2014:08:23 HTTP/1.0 Host: 10.9.35.7 Date: Tue, 15 Jan 2002 14:08:23 GMT Content-Type: text/plain Content-Length: 43 Connection: close First line. Middle line. Last Line. *** End *** The content is everything between First Line and Last Line, inclusive. This is passed through stdin by Apache. I tried reading from php://stdin, but it returns nothing to me. Any clues as to how I might be able to access that? Or any authoritative answer that this is not possible with PHP? Thanks for any help, -- Daniel C. Sobral [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]