title: Sending XML data using HTTP POST with PHP
body: <p>I need to send this XML</p>
  
  <pre><code>      &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;gate&gt;
     &lt;country&gt;NO&lt;/country&gt;
     &lt;accessNumber&gt;1900&lt;/accessNumber&gt;
     &lt;senderNumber&gt;1900&lt;/senderNumber&gt;
     &lt;targetNumber&gt;4792267523&lt;/targetNumber&gt;
     &lt;price&gt;0&lt;/price&gt;
     &lt;sms&gt;
        &lt;content&gt;&lt;![CDATA[This is a test æøå ÆØÅ]]&gt;&lt;/content&gt;
     &lt;/sms&gt;
  &lt;/gate&gt;
  </code></pre>
  
  <p>to a SMS gateway service. The service listens for HTTP POST requests. The XML must be embedded in the BODY of the POST request.</p>
  
  <p>I'm using PHP and the CodeIgniter framework, but I'm a total PHP n00b, so ideally I'd need a thorough guide, but any pointers in the right direction would be appreciated.</p>