title: How can I save a XML file (sourced from API) at runtime?
body: <p>I am needing to get data from my online CRM to my website. The data is sourced from an API, which returns a long list of XML code. I then need to process this XML using PHP to put it on my website (only part of it is needed).</p>
  
  <p>I know XSLT is preferred over PHP for XML processing but I haven't learnt XSLT as yet (getting to that next week) so will use PHP for now.</p>
  
  <p>Just need to know how to save the API's XML file to my server at runtime so I can reference it in my PHP?</p>