Tagged: enable

Source Code Icon 4

Enabling Cross-Origin Resource Sharing CORS for PHP

This post is an addition to Enabling Cross-Origin Resource Sharing CORS for Apache to show you how to enable Cross-Origin Resource Sharing CORS for PHP. Thus, in case you don’t have access to the .htaccess you can simply enable CORS for PHP using the following steps. Setting required headers using...

Magento Logo 6

Enable Address Fields in Magento Customer Registration Forms

In order to enable address fields in Magento customer registration forms you only need to enable the attribute setShowAddressField. To do so either add the following in your template or in the base local.xml (/app/design/frontend/base/default/layout/local.xml): As always, make sure to reload your cache afterwards. This setting will enable to execution...

Apache Logo 1

Enabling Cross-Origin Resource Sharing CORS for Apache

When trying to share resources across different domains (host-a.com vs. host-b.com) you will come across the concept of Cross-Origin Resource Sharing (CORS). In order to be able to share resources across different domains you will most likely need to enable to CORS manually on your server. For instance, when a...