How to solve cross domain issue in php Posted on March 11, 2017 by admin Add below on the top of the php page: header(“Access-Control-Allow-Origin: *”);