Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Web forms for feedback sent to emails to prevent spam

Posted on 2010-11-18
7
Medium Priority
?
471 Views
Last Modified: 2013-12-25
Ok. I want a simply feedback form to replace the current contact us with email links that are currently set up. I suppose there are two ways of doing this. One would be to have the web form sent to our email. Another would be to have the feedback forms stored and viewable to us without going directly to our email. Assuming, I want the web form to go to my email but not have the email be viewable to the public, how would I do this? This would be embedded as html within a cgi script.
0
Comment
Question by:libertyforall2
  • 4
  • 2
7 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 34169999
FormMail http://www.scriptarchive.com/formmail.html has been used for years to do that.  There are links to improved version at the bottom of the page.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 34170163
You would be better to do it in PHP, since the PHP email function is SO simple compared to CGI -- I struggled with CGI and Matt's FormMail for several sites, and even the improved versions are a hassle to adapt and change.  With PHP it is so simple, so logical, and so much more secure.

I ended up redoing all my form mail scripts from early sites with PHP, dumping CGI, and have had no problems since.
0
 

Accepted Solution

by:
libertyforall2 earned 0 total points
ID: 34177360
I found a basic script builder for forms and have this below. It is embedded within a larger cgi script. It doesn't seem to work.

print "<div id=MainContent>\n";


print "<form action="/home/vmap/www/cgi-bin/chfeedback.pl" method="post">\n";
print "<table border="0" cellpadding="8" cellspacing="8">\n";
print "<tr><td><label for="tswname">Name</label>:</td><td><input type="text" name="fullname" id="tswname" size="25" /></td></tr>\n";
print "<tr><td><label for="tswemail">Email address</label>:</td><td><input type="text" id="tswemail" name="email" size="25" /></td></tr>\n";
print "<tr>\n";
print "<td colspan="2">\n";
print "<label for="tswcomments">Comments</label><br />\n";
print "<textarea rows="15" cols="45" name="comments" id="tswcomments"></textarea>\n";
print "</td>\n";
print "</tr>\n";
print "<tr>\n";
print "<td align="center" colspan="2">\n";
print "<input type="submit" value="Send Feedback" /><br />\n";
print "Form by <a href="http://www.thesitewizard.com/">thesitewizard.com</a>\n";
print "</td>\n";
print "</tr>\n";
print "</table>\n";
print "</form>\n";


print "<!-- End MainContent -->\n";


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 34177866
I'm confused.  There is nothing there that can't be just plain HTML on the page.  I thought you had the form and were looking for a way to email it.
0
 

Author Comment

by:libertyforall2
ID: 34199275
I want a contact form that can be filled out and emailed when people have questions.
0
 

Author Comment

by:libertyforall2
ID: 34254207
Any ideas?
0
 

Author Closing Comment

by:libertyforall2
ID: 34324521
ok
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question