Hello All,
Please help me with my problem i am trying to send a post request to my php file using xhttp from javascript, on my local pc everything is working fine but when i try it on the host i get this error
Thank you in advance,
Regards,
Hello All,
Please help me with my problem i am trying to send a post request to my php file using xhttp from javascript, on my local pc everything is working fine but when i try it on the host i get this error
Thank you in advance,
Regards,
The includes
path is blocked for security reasons.
The reason is that includes
folder is usually used for PHP scripts which are loaded into other scripts with an include
(or require
) call, which should not be access directly through web browsers in any way (which includes AJAX calls).
I don’t know exactly why it was blocked, but I think it was because of a software vulnerability with accidental PHP executions which was being exploited en masse.
In any case, if you rename the folder to anything else, it should work.
Thank for your answer it solved the issue of cors origin
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.