artech Posted October 26, 2010 Share Posted October 26, 2010 Hi, I'm working on a web application that will interact with an existing website from another company. On the other company's site, there will be a form (using POST) that has my web application as the action element. The user who clicked the submit button will be redirected to my site, where I need to receive the $_POST data from this form to process before redirecting into the web application. I have done work on the other side, using standard form posts to send data to another site, but I've never had to write the code for the receiving end. How do I receive the form data posted from the other website? Can I access the $_POST[''] array as I would with any normal same-site POST transaction? Please let me know if you need additional detail or if my question wasn't clear! I'm fast approaching deadlines and really appreciate your help! Thanks! Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted October 26, 2010 Share Posted October 26, 2010 Can I access the $_POST[''] array as I would with any normal same-site POST transaction? yes, unless the receiving host is configured to ignore POST's from off-site. i'd try it and see. Quote Link to comment Share on other sites More sharing options...
artech Posted October 26, 2010 Author Share Posted October 26, 2010 Thanks BlueSky! If my host is configured to ignore POST's from off-site, how would I change this? I have full control over server settings, I'm just not sure what to look for. Thanks a mil! Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted October 26, 2010 Share Posted October 26, 2010 don't know off the top of my head. so: i'd try it and see. Quote Link to comment Share on other sites More sharing options...
artech Posted October 26, 2010 Author Share Posted October 26, 2010 Thanks BlueSky I just tried this from another server I just set up. Worked with no problem Thanks again for your help! Quote Link to comment 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.