Help :-) I am sending a POST request from PHP to another PHP script through a socket, something like --------------------------------------------- $request = "Content-type: text/xml\n"; $request .= "blah...blah...blah"; $request .= "\n\n--asdlfkjiurwghasf"; // Build the header $header = "POST /post/bot/xml/test.php HTTP 1.1 \r\n"; $header .= "Accept: text/*\r\n"; $header .= "Accept-Charset: iso-8859-1;\r\n"; $header .= "Accept-Encoding: identity\r\n"; $header .= "Accept-Language: \r\n"; $header .= "User-Agent: Browser/1.1\r\n"; $header .= "Connection: keepalive\r\n"; $header .= "Host: 127.0.0.1:80\r\n"; $header .= "Content-type: text/xml; boundary=asdlfkjiurwghasf; type=\"text/xml\"\r\n\r\n"; ... $fp = fsockopen("127.0.0.1", 80, $err1, $err2, 30); fputs($fp, $header . $request); ----------------------------------------------- How can I access the request data in /post/bot/xml/test.php? Is it possible at all? RAW_POST doesnt't help in this case... Any suggestions?
==================================== Peter Tatischev Senior Mobile Applications Developer Sonic Duo http://www.sonicduo.com Mobile: +7-926-200-1248 Direct: +7-926-200-2248 peter.tatischevatsonicduodotcom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php