how can i solve Access-Control-Allow-Origin problem on Codeigniter? I've tried header('Access-Control-Allow-Origin: *'); etc. But no response still have the problem. Need help about this one. Regards.
My PHP codes: http://codepaste.net/r27eua My JS codes: http://codepaste.net/ev35me
where do you write the header code? I thing you have to write it on page which will be opened by your request!