How to solve cross domain issue in php

  • 0

Add below on the top of the php page:

header(“Access-Control-Allow-Origin: *”);

Add below on the top of the php page: header(“Access-Control-Allow-Origin: *”);

Add below on the top of the php page: header(“Access-Control-Allow-Origin: *”);