0

When I use a GET request from a browser address bar…
http:/example.com/vast/1/73188
…it loads and displays an XML output. If you then refresh the page a new file loads. Actually, there are something like 5 different titles with load in rotation as you re-call/re-fresh the page. That’s all well and good and as it should be. However, if I try and call and load that page from a PHP script -- simplexml_load_file() – while it will load the first title, when refreshed and called the second time, it only ever displays the first title.

I was told this is probably a User Agent issue. What I need is for a PHP script to be able to get all the XML versions, just as you can through the browser.

Any thoughts?

Edited by Ezzaral: Removed link for privacy reasons.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by hielo
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.