Remote URL access denied.

obriendj

New member
Joined
Aug 7, 2007
Messages
3
Hello,

I am having an issue with a Parsing a remote XML page. Here is my code and it works perfectly when running my localhost Apache Server. however when I upload to my website, I get an access denied error. I download the XML file and uploaded it to my server and it worked.

So it appears the issue is with accessing the remote page. So is there a known issue that I cannot access a remote XML page from my site? if so can i edit my .htaccess to amend this.

Alternativly is there a script to automatically download the xml file and place it on my site so i would be able to access it using the code below.

Thanks in advanced
Donal


if (window.ActiveXObject)
{
// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("http://www.ropeyladder.com/xmlserve.php?method=ladder&Id=1591");
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("table.xsl")// Transform
document.write(xml.transformNode(xsl))
}
 
Back
Top