Welcome Guest, Not a member yet? Register   Sign In
setting up .htaccess and other security
#11

Solved. I am communicating across the XOR domain, Here is what I added:

$this->output
->set_content_type('application/json')
->set_header("Access-Control-Allow-Origin","*") <<this line was added
->set_output(json_encode("logged=".$iLogCount));
proof that an old dog can learn new tricks
Reply


Messages In This Thread
RE: setting up .htaccess and other security - by richb201 - 05-03-2018, 12:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB