Javascript/php: xmlHttpRequest or (excluding header change ideally)
<p>I have a php script which processes xml returned from an api call.  What I hope to achieve is to be able set the javascript as a bookmark, or better yet to load every time a document.location value changes. (currently set as bookmark).</p>

<p>The problem I'm having is gettin' passed the xmlHttpRequest's same server policy. As the php script requires that it is hosted on an external domain I can't access the php script to generate the results.</p>

<p>I've seen several scripts on the internet that apparently do it but they either carry out no function or still require accessing an external php script as a proxy.</p>

<p>Any thoughts?</p>

<p>Thanks.</p>
