barrio — 2010-10-04T03:36:03-04:00 — #1
What i'm wondering is if there's any way to get xml file data from a -> xmlhttp.open("GET","http://www.website.com/file.xml",false);
than xmlhttp.open("GET","file.xml",false); ?
barrio — 2010-10-05T05:35:48-04:00 — #2
I got it to work by making everything in php.
Only thing i need to find out no is how to display top 10 results of xml.
Thanks for help.
mittineague — 2010-10-05T00:02:29-04:00 — #3
AJAX has same domain restrictions for security reasons.
Maybe you can do something server-side? Maybe using CURL?
barrio — 2010-10-04T05:06:29-04:00 — #4
The current code is
and it works, but when i enter
it doesnt show any content.
Can anyone please help, on this or is it possible to show content from xml content from different location other than local?
barrio — 2010-10-05T03:25:32-04:00 — #5
Yes, i'm using php and the allow_url_fopen is enabled.
mittineague — 2010-10-05T03:18:31-04:00 — #6
What are you using server side, PHP?
If so, and if the allow_url_fopen settng is enabled you should have a few options.
*note: - to find out you can run
barrio — 2010-10-05T03:04:01-04:00 — #7
thanks for answering. Restrictions might explain but, i have no idea on how to use CURL for that. I googled but it's still confusing.