Problem with PHP 5.2.2 and SOAP

Discussion in 'Feature Requests' started by vogelor, May 28, 2007.

  1. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    Because i have no right to post at the developer forum, i post it here!

    there is a bug in PHP 5.2.2 ans SOAP. Because there is as bug, so that
    $HTTP_RAW_POST_DATA is always empty. So if u are using PHP 5.2.2 you have to code:

    * BUG in PHP 5.2.2 umgehen ($HTTP_RAW_POST_DATA ist IMMER LEER!!!)
    if (strpos(phpversion(), '5.2.2') !== false)
    	$HTTP_RAW_POST_DATA = file_get_contents("php://input");
    the same for $POST[HTTP_RAW_POST_DATA].

    and i think this will stop your remote framewort from working!

  2. payne

    payne New Member

    Sorry for stupid question,but where i need to code this for remote framework to work

    * BUG in PHP 5.2.2 umgehen ($HTTP_RAW_POST_DATA ist IMMER LEER!!!)
    if (strpos(phpversion(), '5.2.2') !== false)

    $HTTP_RAW_POST_DATA file_get_contents("php://input");

Share This Page