Subversion Repositories munaweb

Rev

Rev 162 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 162 Rev 194
Line 210... Line 210...
210
 
210
 
211
if ($DEBUG) {
211
if ($DEBUG) {
212
    error_log(serialize(apache_request_headers()));
212
    error_log(serialize(apache_request_headers()));
213
}
213
}
214
 
214
 
215
$stdin = $GLOBALS['HTTP_RAW_POST_DATA'];
215
#$stdin = $GLOBALS['HTTP_RAW_POST_DATA'];
-
 
216
$stdin = file_get_contents("php://input");
216
if ($DEBUG) {
217
if ($DEBUG) {
217
    error_log($stdin);
218
    error_log("STDIN: " . $stdin);
218
}
219
}
219
 
220
 
220
$action = basename(str_replace('"', '', $_SERVER['HTTP_SOAPACTION']));
221
$action = basename(str_replace('"', '', $_SERVER['HTTP_SOAPACTION']));
221
file_put_contents($capturePath . $action . '.xml', $stdin . "\n\n", FILE_APPEND);
222
file_put_contents($capturePath . $action . '.xml', $stdin . "\n\n", FILE_APPEND);
222
if ($DEBUG) {
223
if ($DEBUG) {