jasemilly Posted June 22, 2013 Share Posted June 22, 2013 I have 2 sites on my machine, one is my development site and one is third party site. The third party site has a aspx file that returns information. I have been trying access this through Jquery and Ajax but ran into a cross domain problem. Am I right in thinking I can do this is PHP? and are their any simple tutorials that someone could point me to. thanks Jasemilly Quote Link to comment https://forums.phpfreaks.com/topic/279452-ajax-php-cross-domain/ Share on other sites More sharing options...
Csharp Posted June 22, 2013 Share Posted June 22, 2013 Well, you can always enable the ALLOW_ORIGIN header that would cause the Ajax to work. Otherwise you can make a small proxy on your PHP server, this will be able to act as a proxy. Hope it helped! C# Quote Link to comment https://forums.phpfreaks.com/topic/279452-ajax-php-cross-domain/#findComment-1437389 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.