Page 1 of 1

How to redirect multiple pages ?

Posted: Tue Nov 08, 2011 6:38 am
by premecorp
Hello Friends,
I have a html form with multiple fields and a paypal button, when I click that paypal button I need all the data through a mail and as well as this page should redirect to paypal account page. To mail I have written a php mail script, I can use form action property but here I can redirect only one page and I want to redirect both mail page and paypal account page, how can I do this thing if any one have any idea regarding please tell me...

Regards,
Premashish

Re: How to redirect multiple pages ?

Posted: Tue Nov 08, 2011 5:36 pm
by requinix
You can't submit to multiple locations.

Use PayPal's IPN service. Submit the form to them like normal, then send your email when they call you back with the transaction details.