Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: phranque
I am working on a form for a leads generation site and I am having some issues with the form processing and the posting of the results.
I want to post to a third party lead collector, and they have given me a URL to do so. It looks something like this:
Everything works fine when I use that URL in the action of the form, and everything is posted through. The problem is, doing it this way the user is redirected to the above URL and away from my site.
What I need to do is have a form processing script that will take the post results, post to the URL, but redirect the user to a ThankYou page on my site.
I really have no idea how to write such a script though (I'm still a novice in all areas of programming).
Can anyone help me with this issue, get me started, or perhaps even provide code examples as to how this would be done?
EDIT: I just realized this might need to go in the PHP section... I don't know if I want to post there again though, I don't want to get in trouble.
[edited by: Whoopage at 8:10 pm (utc) on Mar. 3, 2008]
I want to post to a third party lead collector, and they have given me a URL to do so.
I think you may be missing something.
Usually, in that case, the third party will provide a means of redirecting back to your site. A URL or some kind of ID that you pass along with the other data.
Obviously, there has to be some kind of ID that you send them in any case.
Perhaps they simply haven't configured their database with your redirect URL?
Usually, in that case, the third party will provide a means of redirecting back to your site. A URL or some kind of ID that you pass along with the other data
I have got to believe that the service provider has anticipated the need to redirect back to your site, and has provided some solution for you.
That's what I suppose you are missing.