-
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
-
Originally Posted by threat45
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|