![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there an easy way to send form data via post to a page that captures all that data ( manipulates it ) and then via post again sends it off to another page (the manipulation requires no action by the user)? I know it sounds redundant, but I need to manipulate some of the data entered in the form and I don't want to do it with client side javascript before the form is sent the first time. I'm using ASP and PHP. |
|
To clarify, I would like to take the input from a form, manipulate the data in just a couple of the fields of the form, and then forward the whole form on via post to another page that is the final destination. I have to make sure the data manipulation takes place which is why I would like to do it with server side code instead of client side. Any suggestions? |
#3
| |||
| |||
|
|
On 02 Dec 2005 in macromedia.dreamweaver, Gabe wrote: Is there an easy way to send form data via post to a page that captures all that data ( manipulates it ) and then via post again sends it off to another page (the manipulation requires no action by the user)? I know it sounds redundant, but I need to manipulate some of the data entered in the form and I don't want to do it with client side javascript before the form is sent the first time. I'm using ASP and PHP. Huh? Last I knew, you couldn't use both in the same file... To clarify, I would like to take the input from a form, manipulate the data in just a couple of the fields of the form, and then forward the whole form on via post to another page that is the final destination. I have to make sure the data manipulation takes place which is why I would like to do it with server side code instead of client side. Any suggestions? Do it all in the script which sends the mail (pseudocode): // Get information from the form myfirstname = trim(post('firstname')) mylastname = trim(post('lastname')) // Do some processing myfullname = myfirstname & ' ' & mylastname ... // Send mail mail('me (AT) example (DOT) com', from: myfullname, ...) |
#4
| |||
| |||
|
|
Also, I can't email the info to someone. I have to "post" the information to an external website that I have no control over. So basically, I need to retrieve the info that the user filled out in a form, manipulate some of that data ( server side ), and then send the form data to an external website that needs to receive the data via the "post" method. |
![]() |
| Thread Tools | |
| Display Modes | |
| |