title: Do I use fopen or curl to load an XML file given a URL in PHP
body: <p>I have an XML file I can get via a URL.  I know I can get the file using <code>fopen</code>, but sometimes I've seen scripts use <code>curl</code>.  Is there an advantage to using <code>curl</code> over <code>fopen</code> to get XML files?</p>