Do I use fopen or curl to load an XML file given a URL in PHP

Posted by DKinzer on Stack Overflow See other posts from Stack Overflow or by DKinzer
Published on 2010-04-29T18:23:50Z Indexed on 2010/04/29 18:27 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about php