Barbara
Posts: 0
Joined: Mon Sep 17, 2012 8:42 am

Debugging

Or can I access your proxy in my code?

Barbara
Posts: 0
Joined: Mon Sep 17, 2012 8:42 am

Debugging

Ah found a much easier solution. You just need to add this line to the top of the remote php script

header(“Access-Control-Allow-Origin: [url=http://project.tiggzi.com”]http://project.tiggzi.com”[/url]);

It works.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Debugging

That's how you make the service support cross-domain calls.

Barbara
Posts: 0
Joined: Mon Sep 17, 2012 8:42 am

Debugging

Yes, if it's a php script

Return to “Issues”