If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

double-submit form

I'm working on a page with a form. I pull the form code from a 3rd party company that then takes the post data and puts it into their database. But what I'm trying to figure out is a way to process that form and send a 'text-only email to another internal database - without interfering with the primary action in any way.

Essentially, a form with two posts?? I'm not sure how to do this but I'd like to avoid a javascript solution, if possible. Maybe there's a simple solution. But it's a new thing to me.

I'm open to ideas, whether a php or otherwise.

for the sake of a starting point. Here's the form tag as it is right now :

Right, which would use either curl or sockets, so it doesn't matter if you are using PHP or perl or any other language.
Again, you have to verify that you are allowed to do this via their TOS; automation and interception are among the first five things in the TOS I use.

PHP Code:

header('HTTP/1.1 420 Enhance Your Calm');

Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)