Solved

Web forms for feedback sent to emails to prevent spam

Posted on 2010-11-18
7
461 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 83

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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 83

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

809 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