Access-Control-Allow-Origin to subscribe from another domain

Hello !

I have installed PHPList on my company website ( and I would like to put a subscribe form on my website “”. So I have to authorize the domain “” to post using script.

I found the line
header('Access-Control-Allow-Origin: '.ACCESS_CONTROL_ALLOW_ORIGIN);
in index.php but I didn’t found where I could modify this to authorize “” to subscribe users…

Could you help me ?


You will need to add a define of ACCESS_CONTROL_ALLOW_ORIGIN to your config.php file.
See the documentation on the config file


Thanks ! I did it :slight_smile:

1 Like