Hi, couldn't find much on my exact problem in the search. I think this is more design advice than programming.
What we have is a service order page. The customer fills it out and presses submit. This submit action updates the data to a MySQL database and redirects to a confirmation page.
At this confirmation page, the customer checks the details and clicks submit again. This time a formmail cgi script is called and sends an email to relevant person here at work. This also redirects the user to a Thankyou page where the customer then leaves.
What I want to do somewhere after the second Submit, is send the customer a confirmation email, in a different format to what gets sent to our people at work.
Can this be done in the same process (IE call two cgi scripts)? Any Ideas at all. I'm a PHP newbie and CGI illiterate.
Thanks
What we have is a service order page. The customer fills it out and presses submit. This submit action updates the data to a MySQL database and redirects to a confirmation page.
At this confirmation page, the customer checks the details and clicks submit again. This time a formmail cgi script is called and sends an email to relevant person here at work. This also redirects the user to a Thankyou page where the customer then leaves.
What I want to do somewhere after the second Submit, is send the customer a confirmation email, in a different format to what gets sent to our people at work.
Can this be done in the same process (IE call two cgi scripts)? Any Ideas at all. I'm a PHP newbie and CGI illiterate.
Thanks