|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
CGI Mailto Script
Hi, I'm new to perl/cgi. I'm trying to create a mailto script that simply displays the form names and values selected/entered in an email. I would like to make it a generic script so that it can be with any form without the need to edit the script itself. I'm not sure how to do it with the param() function. Thanks in advance for the help.
|
|
#2
|
|||
|
|||
|
It's been awhile since I've done anything in perl, but basically here's what you'd want to do.
For the script receives the form data and emails the results you would read the POST/GET variables and put all of the data into an associative array. Each array element would have the name of the variable passed, ie: the "name" form element would be named "name" in the array, and it's value would be associated to that array element. Anyone have some code to show this? |
![]() |
| Viewing: Tutorialized Forums > Web Design & Development > Perl and CGI > CGI Mailto Script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|