Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2007, 15: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
The Following 2 Users Say Thank You to vogelor For This Useful Post:
falko (29th May 2007), Hans (2nd June 2007)
Sponsored Links
  #2  
Old 16th June 2007, 13:19
payne payne is offline
Member
 
Join Date: May 2007
Location: Lithuania
Posts: 48
Thanks: 5
Thanked 0 Times in 0 Posts
Default

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

?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SOAP interface dadoc General 1 2nd November 2006 15:19
Automatic user creation script with PHP and SOAP Jose Gosalbez Installation/Configuration 2 24th May 2006 18:11


All times are GMT +2. The time now is 01:57.


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