I'm writing an application that will be getting an XML file from a
third party. Am pretty sure that my class worked a while ago, as I was
happily testing. However, I think that perhaps upgrading my Ubuntu
server has thrown a spanner in the works ... it seems now that PHP is
having trouble seeing these remote files. I do get a response from the
third party, however they give me a "XML not well formed" error. I
know for a fact it is well formed though.
To prove it, I visited the URL in my web browser, no problems. Full
details come back. I then did a CURL from the server itself, again no
problems. Finally I ran the lynx browser on the server and it gets the
full content as well.
So, as far as I can tell, there are no problems with routing through
my router and no ports are closed which are necessary.
However, simplexml_load_file() comes back with an error, and even
file_exists() comes back false. I've been getting this in two
different systems (one with Zend Framework, another with a simple OO
system I am testing with - no framework).
I am completely stumped and am pretty sure it's now only PHP and
SimpleXML that is to blame. Can anyone give me any suggestions?
Perhaps it's to do with XML 1.0 v 1.1? I don't know and am looking
into this.
Help! Thanks!
You're kidding, right?
You clearly need URCM or URMC or whatever it's called!
Nope, not kidding. There's are still some bright people in here.
Overrun by mongrels though.
> Overrun by mongrels though.
Close - I'm sure you mean mods... from the other side.