Read XML that is POSTed

Out of context: Reply #12

  • Started
  • Last post
  • 15 Responses
  • acescence0

    when the server sends the xml, it sends a header along with it that says what format the request is in, you need to look at that bit of information, which is not in that static file. firebug or the safari developer console will let you look at headers. if it's multipart/form-data, php://input won't work, you have to use $HTTP_RAW_POST_DATA instead.

    • & check $HTTP RAW POST DATA is set to 1 or on in php.ini. some hosts turn it offShaney

View thread