Register  |  Login



Earn money by sharing your knowledge through Quomon's revenue sharing program

Question

Status: Closed Points: 75 Time: 13:34 - Mar 04, 2007  

sophiak

Syntax to submit form to two cgi scripts simulaneously - is this possible

I am setting up DadaMail to send e-newsletters and my client would like to get the user when they subscribe to tell them if they are already on their mailing list, and if so, give some info to help her match the new email subscription to their files.

I know phplist will collect this type of info this natively, but it's interface isn't user friendly enough, and besides I've already set up DadaMail.

So what I'd like to do is create a subscription form that sends the email address to the dadamail script and the remainder of the data to my client via email, but that looks to the user like a single form with a single submit button. Is it just a matter of putting two actions (separated by a comma or something) in the form action? If so, what I need is the syntax for that. I haven't seen it covered in the online tutorials.

I realize I could have the response from the form refer the person to a second page where they fill in a second form, but that would mess with the automatic identify confirmation thing that Dada Mail does, which I want to keep.

Sophia

Categories:

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

jgivoni

Date:: May 31, 2007

Time:: 01:55

There is no native way to make the form submit to more than one script, but you've got some other options; either to use javascript to separate the data and send it to two different script (for instance using AJAX), or sending all the data to on script, which then forwards it to the two different scripts.
Either way, some script programming is needed, but it's definately possible.

Question Answered

This question has been closed, and points have been rewarded to the following experts:

jgivoni: 75

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top email Experts

View More

Rank

Expert

Points

1.

nidhi

475

2.

rcastagna

262

3.

PeterNZ

185

4.

oracleofDelphi

162

5.

jgivoni

160

6.

xarcus

75

7.

john2

40

8.

Dngrsone

35

9.

Garso22

25

10.

multani.sarbjit

25

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es