ralphmediacomoss
New member
if I change 1.1 to 1.0 it works, but with 1.1 I get 400 ERROR, WHY?
obviously something is different with 1.1, but I dont know what
$post =
#'POST /recieve.php HTTP/1.0\r\n' .
'POST /recieve.php HTTP/1.1\r\n' .
'Host: localhost:90\r\n' .
'User-Agent: AGENT/0.007\r\n' .
'Accept: */*\r\n' .
'Accept: www/source\r\n' .
'Accept: text/html\r\n' .
'Accept: text/plain\r\n' .
'Accept: text/xml\r\n' .
#'Connection: close \r\n' .
'Content-type: text/xml\r\n' .
'Content-length: ' . strlen($requestBody) .
#'Content-type: text/xml; charset=iso-8859-1\r\n' .
#'Content-length: ' . strlen($requestBody) .
"\r\n\r\n" . $requestBody; # . "\r\n\r\n";
obviously something is different with 1.1, but I dont know what
$post =
#'POST /recieve.php HTTP/1.0\r\n' .
'POST /recieve.php HTTP/1.1\r\n' .
'Host: localhost:90\r\n' .
'User-Agent: AGENT/0.007\r\n' .
'Accept: */*\r\n' .
'Accept: www/source\r\n' .
'Accept: text/html\r\n' .
'Accept: text/plain\r\n' .
'Accept: text/xml\r\n' .
#'Connection: close \r\n' .
'Content-type: text/xml\r\n' .
'Content-length: ' . strlen($requestBody) .
#'Content-type: text/xml; charset=iso-8859-1\r\n' .
#'Content-length: ' . strlen($requestBody) .
"\r\n\r\n" . $requestBody; # . "\r\n\r\n";