I have a php file where I set the header to header ("content-type: text/xml");
.
When I try to read the file with simplexml_load_file()
it returns `false.
But if I set the extension to xml, the file will read correctly.
I use php 5.1.6. With version > 5.3 all works fine. Is this a bug in version 5.1.6. What could be the problem?
Thanks