Hello,
I have a Web form that is filled out on my company's web site. When
the submit button is pressed, the form data is posted to a PHP page
that (in the background) inserts their information into a database,
sends them a confirmation e-mail, etc.
Once the form processing is done, the user is redirected to a Thank
You Page. The thank you page has the following code in it:
<IMG SRC='http://www.emailoptinlistwebsite.blah/scripts/blah.asp?userid=123&ListID=456&FirstName=".$fFirst Name."&AffID=".$affiliateID."&Email=".$fEmail."&La stName=".$fLastName."&State=".$fState."&Zip=".$fZi p."'>
This code adds the user to an opt-in list so that we can send them
other products and services.
THE PROBLEM: Some of our affiliates collect our user's form data on
their Web site via a co-reg page, when this happens, they are posting
the form contents to the form processing page on my server, but the
user never sees the thank you page, so the IMG SRC code above is never
displayed, and they are never added to our opt-in list.
QUESTION: How would I insert the same code above in my form processing
page (that processes in the background) so that the opt-in occurs on
the form processing page, and NOT the thank you page?
Thanks!
- Eric