How to redirect multiple pages ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
premecorp
Forum Newbie
Posts: 15
Joined: Fri Nov 04, 2011 9:12 am

How to redirect multiple pages ?

Post 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: How to redirect multiple pages ?

Post 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.
Post Reply