HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=17)
-   -   Problem with PHP 5.2.2 and SOAP (http://www.howtoforge.com/forums/showthread.php?t=12986)

vogelor 28th May 2007 15:08

Problem with PHP 5.2.2 and SOAP
 
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:

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!

Olli

payne 16th June 2007 13:19

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

PHP 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");


?


All times are GMT +2. The time now is 22:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.