Perl and CGI
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Tutorialized ForumsWeb Design & DevelopmentPerl and CGI

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 5th, 2005, 06:10 PM
almirantem almirantem is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 1 almirantem New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old February 8th, 2005, 06:48 PM
kurt kurt is offline
Administrator
Tutorialized Novice (500 - 999 posts)
 
Join Date: Jan 2004
Posts: 514 kurt New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 5 m 48 sec
Reputation Power: 0
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?

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentPerl and CGI > CGI Mailto Script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway