I need to access the result of submitting a form to a website.

There is a web site where you complete a form and it posts the information using ajax and then tells you if you have their service in the are or not.

I'd like to be able to do this from my web page, which means posting the information required by the form to their server and getting the result.

The problem is I get "403 Forbidden", I think it's because the "Origin" being a different domain.

Is there anyway that I can the response from the server on my website? I thought about php_curl (used once with google docs api) but would like to know what you guys think it's the best way.

link|improve this question
This question is difficult to understand. I recommend organizing your thoughts and correcting the bad English like "their service in the are or not". Also, you mention the problem but never say what you're using/doing to get that problem. – Bret Fisher Mar 10 '11 at 0:06
3  
This won't work because the other site has obviously taken steps to prevent you leeching from them and getting the benefit of the time and effort they have invested. – John Gardeniers Mar 10 '11 at 1:46
feedback

closed as off topic by Zoredache, John Gardeniers, Chris S, Sam, Iain Mar 12 '11 at 18:02

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

Unless you have control over this other server you cannot accomplish this.

There are any number of requirements the server has that you will not be able to meet, the easiest of which is:

  • session cookie

And since you don't have an existing session on that server, the post can be ignored.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.