Currently I am trying to return a publicly available XML resource, though when I use var_dump($resource)
it returns string(4390) " "
.
I am using CURL to retrieve the resource, and it successfully returns other resources. There's clearly something there (as you can see there is 4390 characters!) but it is not returning successfully.
I have tried wrapping it in utf8_encode
though this has made no difference.
I have also tried returning it using print_r
and <pre>
tags though this too returned nothing.
Any help here would be great!