View Single Post
  #1  
Old 28th May 2007, 16:08
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default 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
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
Sponsored Links