title: How request xml via PHP-cURL POST request
body: <p>I want a PHP-cURL script to do the following request.</p>
  
  <pre><code>http://site5.way2sms.com/QuickContacts
  POST /QuickContacts HTTP/1.1
  Host: site5.way2sms.com
  User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: en-us,en;q=0.5
  Accept-Encoding: gzip, deflate
  Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  Connection: keep-alive
  X-Requested-With: XMLHttpRequest
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  Referer: http://site5.way2sms.com/Main.action?id=0CD36BD332A5C7AE77FDBA1CBDBFFBB6.w809
  Content-Length: 16   
  gads=ID=e2cdae9b764355fa:T=1333862873:S=ALNI_MYvxochQ56ILMvBDr4oyyqCIDVn3w
  Pragma: no-cache
  Cache-Control: no-cache
  folder=DashBoard
  HTTP/1.1 200 OK
  Server: Apache-Coyote/1.1
  Content-Type: text/html
  Content-Length: 1901
  Date: Sun, 08 Apr 2012 06:07:52 GMT
  Connection: close                            
  </code></pre>
  
  <p>I think the returned content is in XML format. How to handle them?</p>