PHP, MySQL, Joomla, Wordpress and other CMSes as well as CSS, jScript, jQuery related tested & trusted references links will be posted here for every PHP enthusiasts references. Enjoy
Search This Blog
Wednesday, November 13, 2019
Sunday, November 3, 2019
PHP FIX has been blocked by CORS policy: No 'Access-Control-Allow-Origin' - SOLVED
PHP FIX has been blocked by CORS policy: No 'Access-Control-Allow-Origin'
In the PHP code above, I am telling the browser that site-a.com has permission to make cross-domain requests to my website. The second parameter of PHP’s header function has been set to FALSE so that it is not overwritten by any other Access-Control-Allow-Origin headers that we may add in the future.
Note that you may also come across examples like this on the web:
Friday, November 1, 2019
Subscribe to:
Posts (Atom)