ts2000abc Posted March 7, 2007 Share Posted March 7, 2007 How can i create cURL post with these headers? POST /xml.dll HTTP/1.0 UserAgent: IE6 Content-Type: text/html Content-length: #counter goes here what CURLOPT_'s i should use for posting? Quote Link to comment Share on other sites More sharing options...
monk.e.boy Posted March 7, 2007 Share Posted March 7, 2007 http://curl.haxx.se/mail/curlphp-2005-04/0040.html I think you just $head1.'\r\n'.$head2 them together. monk.e.boy Quote Link to comment Share on other sites More sharing options...
ts2000abc Posted March 7, 2007 Author Share Posted March 7, 2007 ok... i did copy+paste form that example at: http://curl.haxx.se/mail/curlphp-2005-04/0040.html still the server gives me IIS error message in return. (message is: "Bad Request (Invalid Header Name)") ??? still i need help... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.