homepage Welcome to WebmasterWorld Guest from 54.166.228.100
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Want my form to do multiple Actions
form action email php script
mojamags




msg:382303
 3:59 am on May 19, 2004 (gmt 0)

I have a booking form(booknow.htm) on my website.
It collects info like name, email, type of activity to book, Amount etc from the user.

Now this form posts to (https://iconzsecure.net/aucklandactivities/creditcard.php), which is a secure page and which has another form which collects the credit card info from the user and sends me the credit card details in an encrypted email.

But I also need the details collected in the booking form(booknow.htm).

So i want the booking form to post to the php script as well as email me the details collected in it(name, email, type of activity etc).

I think i cannot post the form to 2 actions.

So what can i do?

I think it is possible by php or something.

Here i would like to point out, that the second form (secure form) just requires a field Amount.
So if there is some way where i can get the first form(booking form) to email me all the details the user has input, and then post to the second form with the value of Amount, then it'll work.

 

crosenblum




msg:382304
 3:05 pm on May 19, 2004 (gmt 0)

It is nearly impossible to do, well mostly.

I do not use php, but what i'd do, is first have the form action send to your own page, that sends it via email to you.

Then resubmits that form data to that secure order placing app.

It's the most logical way.

You could do this in javascript, but it'd be faster in a server-side language.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved