Forum Moderators: coopster

Message Too Old, No Replies

PHP Proxy for cross domain AJAX

need help setting up Proxy

         

DirtyBird

4:06 pm on May 27, 2010 (gmt 0)

10+ Year Member



Hi, I hope one of you PHP gurus can help me. I need to make my webpage submit a form to a WCF service and format the returned data using jQuery .ajax success handler in the validation. I think Im on the right track with the Proxy? Can anyone verify if this is the right way to go about it, or would it be better just to have the massage "print" to the page? Any help is much appreciated.

coopster

1:21 pm on Jun 4, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld DirtyBird.

If you are concerned about the browser not handling the cross-domain post you could always post to your own server which would in turn handle the post and read from the service and then return the results to your ajax requester.