On a php page, main.php, I have an html form with post method. It starts out something like this:
<form method="post" action="https://checkout.google.com/blah/blah/blah
In addition to doing the post to checkout.google.com, I would also like to execute some php code on main.php. How do I code the form post action to do this?
I think what I am really asking is if there is a way to have 2 actions when you post a form, and how best to do that.