Do I use fopen or curl to load an XML file given a URL in PHP
- by DKinzer
I have an XML file I can get via a URL. I know I can get the file using fopen, but sometimes I've seen scripts use curl. Is there an advantage to using curl over fopen to get XML files?