A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Reading xml from a php url?

  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    44

    Reading xml from a php url?

    Hello all,

    I have a url that parses XML dynamically

    /ajax.php?page=/photos&action=get_gallery_xml

    When I try to trace the first node out it comes back 'undefined' using the PHP link, although I used the same XML and hosted it on my computer in a .xml file and it worked perfectly.

    Is there something to having an actual .xml file vs dynamic php link? I have a feeling its something I'm missing in my code to read it from the link.

    Any help is appreciated.

    A

  2. #2
    Member
    Join Date
    Sep 2004
    Posts
    44
    Quote Originally Posted by threat45 View Post
    Hello all,

    I have a url that parses XML dynamically

    /ajax.php?page=/photos&action=get_gallery_xml

    When I try to trace the first node out it comes back 'undefined' using the PHP link, although I used the same XML and hosted it on my computer in a .xml file and it worked perfectly.

    Is there something to having an actual .xml file vs dynamic php link? I have a feeling its something I'm missing in my code to read it from the link.

    Any help is appreciated.

    A
    Wanted to post this was resolved. I was unable to read the xml from my sandbox (publishing in flash), I had to post it to the live server and it traced back perfectly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center