Forum Moderators: buckworks

Message Too Old, No Replies

How can i get my form to email me and post to secure payment page too

form email php post action

         

mojamags

4:01 am on May 19, 2004 (gmt 0)

10+ Year Member



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.

Raymond

6:43 am on May 19, 2004 (gmt 0)

10+ Year Member



You can write a php script that goes through a set of functions that server post the data to the https and dispatch an email to whoever you want.

Try CDONT, and fsock.

mojamags

10:51 pm on May 19, 2004 (gmt 0)

10+ Year Member



thanks, i new it had to be done by php, but the problem is i dont know php. just know a bit of javascript.

can you give code in php and will try to implement it.

thanks a lot again :)