I have a xml-file on subdomain a, and a php script on subdomain b. I want to read, and use, the data from the XML file, through PHP.
Here's the catch. The file is secured using HTTP Authentication.
How do I make PHP log-in, and read the contents of the file?