I have a strange problem. I am using php to get data from a xml file.
It all worked, but suddenly it doesn't anymore. The XML url is correct.
Triple-checked the url.
Although the file used to work, when i made a copy of it and uploaded it, this error
also appeared. So my initial thought was that the (remote) server only allowed
this file to connect. My host has recently upgraded to php5.
BTW : allow_url_fopen = on.
Anyone with bright ideas? Thanks in advance.
I get this error (replaced the urls with fake ones).:
ile]: failed to open stream: HTTP request failed! in /home/users/etc/file.php on line 42
Warning: simplexml_load_file() [function.simplexml-load-f
ile]: I/O warning : failed to load external entity "http://www.url.com/index.php?ID=2&ww=aaa&freq=all&land=world&actie=all
" in /home/users/etc/file.php on line 42
Warning: Invalid argument supplied for foreach() in /home/users/etc/file.php on line 43