Whoopage Posted February 27, 2008 Share Posted February 27, 2008 Hey all - new to the site and could really use some help. My situation: I have a form that needs to post results to a specific URL (which is on a different server and I have no control over). Essentially it is a lead generating form... But after I post to the URL, I want it then to redirect back to a page on my site, a thank you page. I believe I need some sort of form processing script, where the form results are processed, sent to the URL and then the script redirects or displays a Thank you message. I don't know how to write such a script though. I know that the form action will need to call the script, but I don't know how to pass the results to the processing script nor how to make the script then POST them to the URL. Any help would be greatly appreciated - Thanks! Quote Link to comment Share on other sites More sharing options...
themistral Posted February 28, 2008 Share Posted February 28, 2008 I presume that the page you are redirecting to will add the lead generation to their own database as you cannot update a database that your server cannot access. As far as I know you will need the page on the other server to redirect back to your site. I would suggest contacting the site owner of the other website and ask how it is best to implement what you want to do. Quote Link to comment Share on other sites More sharing options...
haku Posted February 28, 2008 Share Posted February 28, 2008 I agree. I dont think its possible to send the POST results to the other page without actually going there. And once you are there I dont think you can get back without being forwarded by that page. 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.