Jump to content

How To Avoid Permission Denied Error In Browser Using Xml/http(Php) Request?


PANDIYAN

Recommended Posts

Hi All,

we have get some xml value in thirdparty website using ajax xml/http(php) request. when running the page in local (ie, Apache installed system) its working fine.

When accessing the page other than local, apache not allowing to execute ajax accessing the 3rd party website. it's "Permission Denied" Error alert is displayed in browser.what i do further.

 

 

Please let me know any possible way...

 

 

Thanks,

Pandiyan N

It has nothing to do with apache, you can't do cross-domain AJAX requests, that's just the rule.

 

You can make a script on your own server which acts as a pass-through for the third-party XML.

 

There are other ways to get around this issue, google around for cross-domain ajax for a solution if you don't want to simply make a page on your server.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.