Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PHP - can't get xml back from Flickr REST API

  • 09-12-2009 10:59pm
    #1
    Registered Users, Registered Users 2 Posts: 339 ✭✭


    Hi,

    I am trying to make a photo gallery with the images loaded from my flickr account.

    I'm using the 'HTTP_Request' pear package in PHP.
    I make a request to the flickr api and store the response in a variable then I use SimpleXML to parse the xml.

    The problem is I'm not getting the xml back.

    If i replace the flickr url with say google's url and 'echo' the response, I see the google page.
    I've included a screengrab of the HTTP Headers section of the phpinfo.php file.
    Could the response section be what's stopping me from getting xml?
    Or am I missing something else completely.

    The website is hosted on a shared hosting server.

    Any thoughts/advice appreciated.

    98526.PNG
    Tagged:


Advertisement