Alright, for a project, there’s an XML page, which uses the user’s cookies to generate output.
I don’t have access to this page, but wish to extract information from it using PHP.
My thoughts so far were some sort of PHP include that sets cookies to the externally included file.
Any pointers or suggestions would be great. Thanks.
EDIT: I have no control over the domain that the XML page is hosted on.
You could use cURL and include a cookie jar:
From http://curl.haxx.se/libcurl/php/examples/cookiejar.html: