PHP: how to load file from different server as string?
Posted
by John Isaacks
on Stack Overflow
See other posts from Stack Overflow
or by John Isaacks
Published on 2009-06-01T13:54:51Z
Indexed on
2010/06/10
15:32 UTC
Read the original article
Hit count: 319
I am trying to load an XML file from a different domain name as a string. All I want is an array of the text within the < title >< /title > tags of the xml file, so I am thinking since I am using php4 the easiest way would be to do a regex on it to get them. Can someone explain how to load the XML as a string? Thanks!
© Stack Overflow or respective owner