October 16th, 2012, 09:38 AM
How to avoid permission Denied Error in browser using xml/http(php) request?
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...
October 16th, 2012, 10:19 AM
Originally Posted by PANDIYANN07
It could be that when you moved the pages from your local server to the remote webserver, the permissions of the PHP scripts were messed up.
Ensure that your WWW User (check your apache config for that info) has read permission to the folder where the scripts are kept and also to the scripts themselves.
To help more, we'd really need to see the error message as it appears on screen, does it say "403 - Error permission denied" or something like that??
"For if leisure and security were enjoyed by all alike, the great mass of human beings who are normally stupefied by poverty would become literate and would learn to think for themselves; and when once they had done this, they would sooner or later realise that the privileged minority had no function and they would sweep it away"
- George Orwell, 1984
October 16th, 2012, 07:35 PM
You can't issue an AJAX request to a domain that is different from the one serving the page.