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

Link to comment
Share on other sites

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.

Edited by ManiacDan
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.