Forum Moderators: coopster

Message Too Old, No Replies

How to add form data to db AND post to a new file?

         

bearclaws

7:19 pm on Dec 3, 2005 (gmt 0)

10+ Year Member



I need an HTML form to do two things when the user clicks "Submit":

1) Insert the form data into a database
2) post the form data to a 3rd party link (i.e. verisign) to complete CC purchase

...I can get either 1 or 2 to work - but not both together!

Is there some way that I can post to the PHP file that inserts the database data AND then post to the Verisign URL from within that same PHP file?

Thanks!

jatar_k

10:12 pm on Dec 3, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



post to a scipt, that script inserts the data into the db

then use cURL [php.net] to issue the post to verisign

willybfriendly

11:09 pm on Dec 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or, perhaps use sockets?

[webmasterworld.com...]

WBF