Access Control Allow Origin http set Headers

Submitted by live24u - 6 years ago

Title : Access Control Allow Origin http set Headers Site Name : URL : Live Example : We are Web Technology Experts and Team who provide you very Important information on Web Development information, Interview Questions and Answers, live project problem solution and their solution and online free tutorials – “”.

    // here include this three statement
    header('Access-Control-Allow-Origin: *');  //all the methods access code
    header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); // all the resource and request get
    header('Access-Control-Allow-Headers: Content-Type, Content-Range, Content-Disposition, Content-Description');